We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 633dbc7 commit 901e1beCopy full SHA for 901e1be
src/monomorph_pass.rs
@@ -320,6 +320,11 @@ impl MonomorphPass {
320
pub fn get_instantiation(&self, key: &MonomorphKey) -> Option<Name> {
321
self.instantiations.get(key).copied()
322
}
323
+
324
+ /// Get the full rewrite map for all instantiations
325
+ pub fn get_rewrite_map(&self) -> &HashMap<MonomorphKey, Name> {
326
+ &self.instantiations
327
+ }
328
329
330
#[cfg(test)]
0 commit comments