diff options
| author | Philip <pipcet@gmail.com> | 2015-05-04 03:42:02 +0000 |
|---|---|---|
| committer | Philip <pipcet@gmail.com> | 2015-05-04 03:42:02 +0000 |
| commit | 70a6c4601e471054edbe2fd984e37e2ca320db14 (patch) | |
| tree | eb209a87381d7513997624ef7653ced4c7c1b898 /x86_64-gen.c | |
| parent | c75d0deecf6823421e088ec252a9d51445d013a0 (diff) | |
| download | tinycc-70a6c4601e471054edbe2fd984e37e2ca320db14.tar.gz tinycc-70a6c4601e471054edbe2fd984e37e2ca320db14.tar.bz2 | |
VLA code: minor fix
Don't try to call get_flags() on the mob branch, where it's not defined.
Diffstat (limited to 'x86_64-gen.c')
| -rw-r--r-- | x86_64-gen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/x86_64-gen.c b/x86_64-gen.c index b51adb3..8495737 100644 --- a/x86_64-gen.c +++ b/x86_64-gen.c @@ -2226,7 +2226,6 @@ ST_FUNC void gen_vla_sp_restore(int addr) { /* Subtract from the stack pointer, and push the resulting value onto the stack */ ST_FUNC void gen_vla_alloc(CType *type, int align) { int r; - get_flags(); #ifdef TCC_TARGET_PE /* alloca does more than just adjust %rsp on Windows */ vpush_global_sym(&func_old_type, TOK_alloca); |
