aboutsummaryrefslogtreecommitdiff
path: root/x86_64-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64-gen.c')
-rw-r--r--x86_64-gen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/x86_64-gen.c b/x86_64-gen.c
index e313a5f..5a122d0 100644
--- a/x86_64-gen.c
+++ b/x86_64-gen.c
@@ -2228,7 +2228,6 @@ ST_FUNC void gen_vla_alloc(CType *type, int align) {
vpush_global_sym(&func_old_type, TOK_alloca);
vswap(); /* Move alloca ref past allocation size */
gfunc_call(1);
- vset(type, REG_IRET, 0);
#else
int r;
r = gv(RC_INT); /* allocation size */