aboutsummaryrefslogtreecommitdiff
path: root/i386-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386-gen.c')
-rw-r--r--i386-gen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/i386-gen.c b/i386-gen.c
index 0704965..6d924c2 100644
--- a/i386-gen.c
+++ b/i386-gen.c
@@ -427,6 +427,7 @@ void gfunc_prolog(CType *func_type)
oad(0xb8, 0); /* call to function */
func_bound_offset = lbounds_section->data_offset;
}
+ loc = 0;
}
/* generate function epilog */