| 81 | } |
| 82 | |
| 83 | size_t CompilerContext::immutableMemoryOffset(VariableDeclaration const& _variable) const |
| 84 | { |
| 85 | solAssert(m_immutableVariables.count(&_variable), "Memory offset of unknown immutable queried."); |
| 86 | solAssert(m_runtimeContext, "Attempted to fetch the memory offset of an immutable variable during runtime code generation."); |
| 87 | return m_immutableVariables.at(&_variable); |
| 88 | } |
| 89 | |
| 90 | std::vector<std::string> CompilerContext::immutableVariableSlotNames(VariableDeclaration const& _variable) |
| 91 | { |
no test coverage detected