History

VLA code: minor fix

Don't try to call get_flags() on the mob branch, where it's not defined.

Philip committed 11 years ago

Commit 70a6c461 parent c75d0de1 file · +0 −1Browse files

Unified · Split

x86_64-gen.c+0−1
@@ -2226,7 +2226,6 @@ ST_FUNC void gen_vla_sp_restore(int addr) { · 2225 unmodified lines
22262226 /* Subtract from the stack pointer, and push the resulting value onto the stack */
22272227 ST_FUNC void gen_vla_alloc(CType *type, int align) {
22282228 int r;
2229− get_flags();
22302229 #ifdef TCC_TARGET_PE
22312230 /* alloca does more than just adjust %rsp on Windows */
22322231 vpush_global_sym(&func_old_type, TOK_alloca);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t