Bug 605192 - JM: make f.apply(x, obj) fast, part 3 (r=sstangl)

--HG--
extra : rebase_source : 1341b9bc98d1ab74d8b8ba35243331d62a36fa34
This commit is contained in:
Luke Wagner 2010-10-28 17:15:49 -07:00
parent 6b39ea3337
commit db7bcbff85

View File

@ -55,7 +55,7 @@ struct Registers {
#if defined(JS_CPU_X64)
static const RegisterID TypeMaskReg = JSC::X86Registers::r13;
static const RegisterID PayloadMaskReg = JSC::X86Registers::r14;
static const RegisterID ValueReg = JSC::X86Registers::r15;
static const RegisterID ValueReg = JSC::X86Registers::r10;
#endif
// Register that homes the current JSStackFrame.
@ -107,7 +107,6 @@ struct Registers {
# if defined(JS_CPU_X64)
| (1 << JSC::X86Registers::r8)
| (1 << JSC::X86Registers::r9)
| (1 << JSC::X86Registers::r10)
# if !defined(_MSC_VER)
| (1 << JSC::X86Registers::esi)
| (1 << JSC::X86Registers::edi)
@ -121,7 +120,7 @@ struct Registers {
(1 << JSC::X86Registers::r12)
// r13 is TypeMaskReg.
// r14 is PayloadMaskReg.
// r15 is ValueReg.
| (1 << JSC::X86Registers::r15)
# if defined(_MSC_VER)
| (1 << JSC::X86Registers::esi)
| (1 << JSC::X86Registers::edi)