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_mips.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_mips.h')
-rw-r--r-- | src/lj_asm_mips.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h index 14ebd1b3..3de133b8 100644 --- a/src/lj_asm_mips.h +++ b/src/lj_asm_mips.h | |||
@@ -541,7 +541,7 @@ static void asm_conv64(ASMState *as, IRIns *ir) | |||
541 | 541 | ||
542 | static void asm_strto(ASMState *as, IRIns *ir) | 542 | static void asm_strto(ASMState *as, IRIns *ir) |
543 | { | 543 | { |
544 | const CCallInfo *ci = &lj_ir_callinfo[IRCALL_lj_str_tonum]; | 544 | const CCallInfo *ci = &lj_ir_callinfo[IRCALL_lj_strscan_num]; |
545 | IRRef args[2]; | 545 | IRRef args[2]; |
546 | RegSet drop = RSET_SCRATCH; | 546 | RegSet drop = RSET_SCRATCH; |
547 | if (ra_hasreg(ir->r)) rset_set(drop, ir->r); /* Spill dest reg (if any). */ | 547 | if (ra_hasreg(ir->r)) rset_set(drop, ir->r); /* Spill dest reg (if any). */ |