diff options
author | Mike Pall <mike> | 2012-08-25 23:02:29 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-08-25 23:02:29 +0200 |
commit | 4c882fe71406a923f07c8e9a0b9189036e0ba386 (patch) | |
tree | 22aa3995b5bdc2fce05ba17488799e67abc635ba /src/lj_asm_x86.h | |
parent | 653facd0d5c1a4f7eae43eefbf8148f57e28e606 (diff) | |
download | luajit-4c882fe71406a923f07c8e9a0b9189036e0ba386.tar.gz luajit-4c882fe71406a923f07c8e9a0b9189036e0ba386.tar.bz2 luajit-4c882fe71406a923f07c8e9a0b9189036e0ba386.zip |
Replace strtod() with builtin string to number conversion.
Diffstat (limited to 'src/lj_asm_x86.h')
-rw-r--r-- | src/lj_asm_x86.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index ceeefbee..da4cf7e2 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h | |||
@@ -882,7 +882,7 @@ static void asm_conv_int64_fp(ASMState *as, IRIns *ir) | |||
882 | static void asm_strto(ASMState *as, IRIns *ir) | 882 | static void asm_strto(ASMState *as, IRIns *ir) |
883 | { | 883 | { |
884 | /* Force a spill slot for the destination register (if any). */ | 884 | /* Force a spill slot for the destination register (if any). */ |
885 | const CCallInfo *ci = &lj_ir_callinfo[IRCALL_lj_str_tonum]; | 885 | const CCallInfo *ci = &lj_ir_callinfo[IRCALL_lj_strscan_num]; |
886 | IRRef args[2]; | 886 | IRRef args[2]; |
887 | RegSet drop = RSET_SCRATCH; | 887 | RegSet drop = RSET_SCRATCH; |
888 | if ((drop & RSET_FPR) != RSET_FPR && ra_hasreg(ir->r)) | 888 | if ((drop & RSET_FPR) != RSET_FPR && ra_hasreg(ir->r)) |