From a127eaf8d21e7c00d88a9d024ce66efe756e4c66 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Thu, 10 Mar 2011 00:57:02 +0100 Subject: [PATCH] FFI: Fix x86 code generation for ffi.string(). --- src/lj_asm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lj_asm.c b/src/lj_asm.c index cb8f12c8..7ed9ca62 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c @@ -4256,7 +4256,7 @@ static void asm_setup_regsp(ASMState *as, GCtrace *T) break; #endif /* C calls evict all scratch regs and return results in RID_RET. */ - case IR_SNEW: case IR_NEWREF: + case IR_SNEW: case IR_XSNEW: case IR_NEWREF: #if !LJ_64 if (as->evenspill < 3) /* lj_str_new and lj_tab_newkey need 3 args. */ as->evenspill = 3;