Move stack height to generation phase.

This commit is contained in:
chriseth
2017-06-14 00:01:06 +02:00
parent 45d96959f8
commit c554145f4d
3 changed files with 9 additions and 11 deletions
-2
View File
@@ -67,8 +67,6 @@ struct Scope
struct Variable
{
/// Used during code generation to store the stack height. @todo move there.
int stackHeight = 0;
/// Used during analysis to check whether we already passed the declaration inside the block.
/// @todo move there.
bool active = false;