| 576 | } |
| 577 | |
| 578 | void ContractCompiler::registerImmutableVariables(ContractDefinition const& _contract) |
| 579 | { |
| 580 | solAssert(m_runtimeCompiler, "Attempted to register immutables for runtime code generation."); |
| 581 | for (auto const& var: ContractType(_contract).immutableVariables()) |
| 582 | m_context.addImmutable(*var); |
| 583 | } |
| 584 | |
| 585 | void ContractCompiler::initializeStateVariables(ContractDefinition const& _contract) |
| 586 | { |
nothing calls this directly
no test coverage detected