(
&self,
sess: &Session,
compiled_modules: CompiledModules,
crate_info: CrateInfo,
metadata: EncodedMetadata,
outputs: &OutputFilenames,
)
| 1624 | oomir_module.statics.len() |
| 1625 | ) |
| 1626 | ); |
| 1627 | |
| 1628 | let oomir_module = optimise1::optimise_module(oomir_module); |
| 1629 | metrics::record_oomir_after_optimise1(&oomir_module); |
| 1630 | |
| 1631 | breadcrumbs::log!( |
| 1632 | breadcrumbs::LogLevel::Info, |
| 1633 | "optimisation", |
| 1634 | format!( |
| 1635 | "Optimised OOMIR shard {shard_name} contains {} functions, {} data types, and {} statics", |
| 1636 | oomir_module.functions.len(), |
| 1637 | oomir_module.data_types.len(), |
| 1638 | oomir_module.statics.len() |
| 1639 | ) |
| 1640 | ); |
| 1641 | |
| 1642 | let generated_classes = lower2::oomir_to_jvm_bytecode( |
| 1643 | oomir_module, |
| 1644 | debug_info, |
| 1645 | emit_runtime_views, |
| 1646 | emitted_class_registry, |
| 1647 | ) |
| 1648 | .unwrap_or_else(|error| { |
nothing calls this directly
no outgoing calls
no test coverage detected