Merge pull request #3991 from aarlt/lvalue-virtual-destructor

Add virtual destructor in LValue class.
This commit is contained in:
chriseth 2018-04-25 09:51:40 +02:00 committed by GitHub
commit 81cca26f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,7 @@ protected:
m_context(_compilerContext), m_dataType(_dataType) {}
public:
virtual ~LValue() {}
/// @returns the number of stack slots occupied by the lvalue reference
virtual unsigned sizeOnStack() const { return 1; }
/// Copies the value of the current lvalue to the top of the stack and, if @a _remove is true,