Fix windows build.

This commit is contained in:
chriseth
2019-11-06 02:06:19 +01:00
parent 4d99bf68f4
commit e275bb88f0
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -649,15 +649,15 @@ void CodeTransform::operator()(Continue const& _continue)
checkStackHeight(&_continue);
}
void CodeTransform::operator()(Leave const& _leave)
void CodeTransform::operator()(Leave const& _leaveStatement)
{
yulAssert(!m_context->functionExitPoints.empty(), "Invalid leave-statement. Requires surrounding function in code generation.");
m_assembly.setSourceLocation(_leave.location);
m_assembly.setSourceLocation(_leaveStatement.location);
Context::JumpInfo const& jump = m_context->functionExitPoints.top();
m_assembly.appendJumpTo(jump.label, appendPopUntil(jump.targetStackHeight));
checkStackHeight(&_leave);
checkStackHeight(&_leaveStatement);
}
void CodeTransform::operator()(Block const& _block)