| 199 | |
| 200 | template<bool IsTransient> |
| 201 | GenericStorageItem<IsTransient>::GenericStorageItem(CompilerContext& _compilerContext, VariableDeclaration const& _declaration): |
| 202 | GenericStorageItem<IsTransient>(_compilerContext, *_declaration.annotation().type) |
| 203 | { |
| 204 | solAssert(!_declaration.immutable(), ""); |
| 205 | auto const& location = m_context.storageLocationOfVariable(_declaration); |
| 206 | m_context << location.first << u256(location.second); |
| 207 | } |
| 208 | |
| 209 | template<bool IsTransient> |
| 210 | GenericStorageItem<IsTransient>::GenericStorageItem(CompilerContext& _compilerContext, Type const& _type): |
nothing calls this directly
no test coverage detected