Get a `CodeInfo` describing section sizes from this compilation result.
(&self)
| 622 | impl<T: CompilePhase> CompiledCodeBase<T> { |
| 623 | /// Get a `CodeInfo` describing section sizes from this compilation result. |
| 624 | pub fn code_info(&self) -> CodeInfo { |
| 625 | CodeInfo { |
| 626 | total_size: self.buffer.total_size(), |
| 627 | } |
| 628 | } |
| 629 | |
| 630 | /// Returns a reference to the machine code generated for this function compilation. |
| 631 | pub fn code_buffer(&self) -> &[u8] { |