Skip to content
Snippets Groups Projects

Intraprocedural SROA

Merged Aaron Councilman requested to merge sroa into main
6 files
+ 803
294
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 8
0
@@ -728,6 +728,14 @@ impl Type {
@@ -728,6 +728,14 @@ impl Type {
None
None
}
}
}
}
 
 
pub fn try_product(&self) -> Option<&[TypeID]> {
 
if let Type::Product(ts) = self {
 
Some(ts)
 
} else {
 
None
 
}
 
}
}
}
impl Constant {
impl Constant {
Loading