| 150 | } |
| 151 | |
| 152 | unsigned CompilerUtils::loadFromMemory( |
| 153 | unsigned _offset, |
| 154 | Type const& _type, |
| 155 | bool _fromCalldata, |
| 156 | bool _padToWordBoundaries |
| 157 | ) |
| 158 | { |
| 159 | solAssert(_type.category() != Type::Category::Array, "Unable to statically load dynamic type."); |
| 160 | m_context << u256(_offset); |
| 161 | return loadFromMemoryHelper(_type, _fromCalldata, _padToWordBoundaries); |
| 162 | } |
| 163 | |
| 164 | void CompilerUtils::loadFromMemoryDynamic( |
| 165 | Type const& _type, |
no test coverage detected