aboutsummaryrefslogtreecommitdiff
path: root/src/ssa/make.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-10-30 19:20:47 +0000
committerGinger Bill <bill@gingerbill.org>2016-10-30 19:20:47 +0000
commit0ffe4b600df51fd8ee5658f9a9296efe86cb67ea (patch)
treea72fb5daff358ad45e63c10f5d24ec3e561bd0f5 /src/ssa/make.cpp
parentca311c4a59a34c0b516a415df37e7dd9d9fb65bf (diff)
Interpreter - call internal procedures
Diffstat (limited to 'src/ssa/make.cpp')
-rw-r--r--src/ssa/make.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ssa/make.cpp b/src/ssa/make.cpp
index 8441dac5d..47ae3a305 100644
--- a/src/ssa/make.cpp
+++ b/src/ssa/make.cpp
@@ -450,6 +450,7 @@ ssaValue *ssa_add_local(ssaProcedure *proc, Entity *e, b32 zero_initialized = tr
instr->Instr.parent = b;
array_add(&b->instrs, instr);
array_add(&b->locals, instr);
+ proc->local_count++;
// if (zero_initialized) {
ssa_emit_zero_init(proc, instr);