From 282d4b8add13fd81a0320fa0d3db331e09b3d487 Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 28 Jan 2015 18:19:01 +0100 Subject: Fix stack size of typetypes. --- Types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Types.h') 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; -- cgit v1.2.3