Missing stack height check for variable declaration.

This commit is contained in:
chriseth 2017-06-06 16:41:49 +02:00
parent ef3d5874fe
commit 893e6f4ec2

View File

@ -67,6 +67,7 @@ void CodeTransform::operator()(VariableDeclaration const& _varDecl)
var.stackHeight = height++; var.stackHeight = height++;
var.active = true; var.active = true;
} }
checkStackHeight(&_varDecl);
} }
void CodeTransform::operator()(Assignment const& _assignment) void CodeTransform::operator()(Assignment const& _assignment)