Address feedback from code review.

This commit is contained in:
Valentin Wüstholz authored and chriseth committed 2017-01-26 16:39:07 +01:00
1 parent 9bcbd93ac5
commit 5b7cc018f0
5 files changed
+12 -16

No files matched your search

+3 -3
View File
@@ -222,9 +222,9 @@ CompilerContext& CompilerContext::appendInvalid()
CompilerContext& CompilerContext::appendConditionalInvalid()
{
eth::AssemblyItem falseTag = appendConditionalJump();
eth::AssemblyItem endTag = appendJumpToNew();
return *this << falseTag << Instruction::INVALID << endTag;
*this << Instruction::ISZERO;
eth::AssemblyItem afterTag = appendConditionalJump();
return *this << Instruction::INVALID << afterTag;
}
void CompilerContext::resetVisitedNodes(ASTNode const* _node)