aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libsolidity/codegen/CompilerContext.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp
index 3bb6c953..7577a606 100644
--- a/libsolidity/codegen/CompilerContext.cpp
+++ b/libsolidity/codegen/CompilerContext.cpp
@@ -224,7 +224,9 @@ CompilerContext& CompilerContext::appendConditionalInvalid()
{
*this << Instruction::ISZERO;
eth::AssemblyItem afterTag = appendConditionalJump();
- return *this << Instruction::INVALID << afterTag;
+ *this << Instruction::INVALID;
+ *this << afterTag;
+ return *this;
}
void CompilerContext::resetVisitedNodes(ASTNode const* _node)