| 62 | using namespace solidity::langutil; |
| 63 | |
| 64 | void CompilerContext::addStateVariable( |
| 65 | VariableDeclaration const& _declaration, |
| 66 | u256 const& _storageOffset, |
| 67 | unsigned _byteOffset |
| 68 | ) |
| 69 | { |
| 70 | m_stateVariables[&_declaration] = std::make_pair(_storageOffset, _byteOffset); |
| 71 | } |
| 72 | |
| 73 | void CompilerContext::addImmutable(VariableDeclaration const& _variable) |
| 74 | { |
no outgoing calls
no test coverage detected