Method
map_constant
(&mut self, constant: ir::Constant)
Source from the content-addressed store, hash-verified
| 1015 | } |
| 1016 | |
| 1017 | fn map_constant(&mut self, constant: ir::Constant) -> ir::Constant { |
| 1018 | self.allocs |
| 1019 | .constants |
| 1020 | .get(constant) |
| 1021 | .and_then(|o| o.expand()) |
| 1022 | .expect("should have inlined all callee constants") |
| 1023 | } |
| 1024 | |
| 1025 | fn map_immediate(&mut self, immediate: ir::Immediate) -> ir::Immediate { |
| 1026 | self.entity_map.inlined_immediate(immediate) |
Callers
nothing calls this directly
Tested by
no test coverage detected