Bug 890143 - BaselineSecondScratchReg is not available in Baseline mode. r=djvj

This commit is contained in:
Jed Davis 2013-08-27 09:01:45 -04:00
parent 0a77b28320
commit 9d60b089c5

View File

@ -1029,6 +1029,7 @@ class ICStubCompiler
JS_ASSERT(!regs.has(BaselineStackReg)); JS_ASSERT(!regs.has(BaselineStackReg));
#ifdef JS_CPU_ARM #ifdef JS_CPU_ARM
JS_ASSERT(!regs.has(BaselineTailCallReg)); JS_ASSERT(!regs.has(BaselineTailCallReg));
regs.take(BaselineSecondScratchReg);
#endif #endif
regs.take(BaselineFrameReg); regs.take(BaselineFrameReg);
regs.take(BaselineStubReg); regs.take(BaselineStubReg);