aboutsummaryrefslogtreecommitdiffstats
path: root/Types.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-29 01:19:01 +0800
committerChristian <c@ethdev.com>2015-01-29 01:19:01 +0800
commit282d4b8add13fd81a0320fa0d3db331e09b3d487 (patch)
treecc6d8bbce6c601728d863c04679c7a5fb77fd9f9 /Types.h
parent2903799074a1bb60377fc2adba2d3b0bf2acdfbb (diff)
downloaddexon-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Types.h b/Types.h
index 83436efa..b7f87d76 100644
--- a/Types.h
+++ b/Types.h
@@ -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;