diff options
author | Mike Pall <mike> | 2011-03-10 00:57:02 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-03-10 00:57:02 +0100 |
commit | a127eaf8d21e7c00d88a9d024ce66efe756e4c66 (patch) | |
tree | c87035dfb58cfc9fb43c3906fba7cbf6f13d5c41 /src | |
parent | 30cc4d3bba27d5bd1415098a53f383b7bbe0a0fa (diff) | |
download | luajit-a127eaf8d21e7c00d88a9d024ce66efe756e4c66.tar.gz luajit-a127eaf8d21e7c00d88a9d024ce66efe756e4c66.tar.bz2 luajit-a127eaf8d21e7c00d88a9d024ce66efe756e4c66.zip |
FFI: Fix x86 code generation for ffi.string().
Diffstat (limited to 'src')
-rw-r--r-- | src/lj_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
4256 | break; | 4256 | break; |
4257 | #endif | 4257 | #endif |
4258 | /* C calls evict all scratch regs and return results in RID_RET. */ | 4258 | /* C calls evict all scratch regs and return results in RID_RET. */ |
4259 | case IR_SNEW: case IR_NEWREF: | 4259 | case IR_SNEW: case IR_XSNEW: case IR_NEWREF: |
4260 | #if !LJ_64 | 4260 | #if !LJ_64 |
4261 | if (as->evenspill < 3) /* lj_str_new and lj_tab_newkey need 3 args. */ | 4261 | if (as->evenspill < 3) /* lj_str_new and lj_tab_newkey need 3 args. */ |
4262 | as->evenspill = 3; | 4262 | as->evenspill = 3; |