mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Address feedback from code review.
This commit is contained in:
1 parent
9bcbd93ac5
commit
5b7cc018f0
5 files changed
+12
-16
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user