| 2777 | } |
| 2778 | |
| 2779 | std::string YulUtilFunctions::readFromStorage( |
| 2780 | Type const& _type, |
| 2781 | size_t _offset, |
| 2782 | bool _splitFunctionTypes, |
| 2783 | VariableDeclaration::Location _location |
| 2784 | ) |
| 2785 | { |
| 2786 | if (_type.isValueType()) |
| 2787 | return readFromStorageValueType(_type, _offset, _splitFunctionTypes, _location); |
| 2788 | else |
| 2789 | { |
| 2790 | solAssert(_location != VariableDeclaration::Location::Transient); |
| 2791 | solAssert(_offset == 0, ""); |
| 2792 | return readFromStorageReferenceType(_type); |
| 2793 | } |
| 2794 | } |
| 2795 | |
| 2796 | std::string YulUtilFunctions::readFromStorageDynamic( |
| 2797 | Type const& _type, |
no test coverage detected