diff options
author | Christian <c@ethdev.com> | 2015-01-29 01:19:01 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-01-29 01:19:01 +0800 |
commit | 282d4b8add13fd81a0320fa0d3db331e09b3d487 (patch) | |
tree | cc6d8bbce6c601728d863c04679c7a5fb77fd9f9 /Types.h | |
parent | 2903799074a1bb60377fc2adba2d3b0bf2acdfbb (diff) | |
download | dexon-solidity-282d4b8add13fd81a0320fa0d3db331e09b3d487.tar dexon-solidity-282d4b8add13fd81a0320fa0d3db331e09b3d487.tar.gz dexon-solidity-282d4b8add13fd81a0320fa0d3db331e09b3d487.tar.bz2 dexon-solidity-282d4b8add13fd81a0320fa0d3db331e09b3d487.tar.lz dexon-solidity-282d4b8add13fd81a0320fa0d3db331e09b3d487.tar.xz dexon-solidity-282d4b8add13fd81a0320fa0d3db331e09b3d487.tar.zst dexon-solidity-282d4b8add13fd81a0320fa0d3db331e09b3d487.zip |
Fix stack size of typetypes.
Diffstat (limited to 'Types.h')
-rw-r--r-- | Types.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -452,6 +452,7 @@ public: virtual bool canBeStored() const override { return false; } virtual u256 getStorageSize() const override { BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Storage size of non-storable type type requested.")); } virtual bool canLiveOutsideStorage() const override { return false; } + virtual unsigned getSizeOnStack() const override { return 0; } virtual std::string toString() const override { return "type(" + m_actualType->toString() + ")"; } virtual MemberList const& getMembers() const override; @@ -477,6 +478,7 @@ public: virtual bool canBeStored() const override { return false; } virtual u256 getStorageSize() const override { BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Storage size of non-storable type type requested.")); } virtual bool canLiveOutsideStorage() const override { return false; } + virtual unsigned getSizeOnStack() const override { return 0; } virtual bool operator==(Type const& _other) const override; virtual std::string toString() const override; |