Skip to content
Permalink
Browse files
Gardening: fix broken 32-bit JSC tests. Just need to assign a scratch…
… register.

https://bugs.webkit.org/show_bug.cgi?id=152191

Not reviewed.

* jit/JITArithmetic.cpp:
(JSC::JIT::emitBitBinaryOpFastPath):



Canonical link: https://commits.webkit.org/170435@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Mark Lam committed Dec 16, 2015
1 parent 51e0a64 commit 94bde51b3eef40cbbd4e3b7fa62626c50ed0e6f6
Showing with 12 additions and 2 deletions.
  1. +10 −0 Source/JavaScriptCore/ChangeLog
  2. +2 −2 Source/JavaScriptCore/jit/JITArithmetic.cpp
@@ -1,3 +1,13 @@
2015-12-15 Mark Lam <mark.lam@apple.com>

Gardening: fix broken 32-bit JSC tests. Just need to assign a scratch register.
https://bugs.webkit.org/show_bug.cgi?id=152191

Not reviewed.

* jit/JITArithmetic.cpp:
(JSC::JIT::emitBitBinaryOpFastPath):

2015-12-15 Mark Lam <mark.lam@apple.com>

Introducing ScratchRegisterAllocator::PreservedState.
@@ -509,12 +509,12 @@ void JIT::emitBitBinaryOpFastPath(Instruction* currentInstruction)
JSValueRegs leftRegs = JSValueRegs(regT0);
JSValueRegs rightRegs = JSValueRegs(regT1);
JSValueRegs resultRegs = leftRegs;
GPRReg scratchGPR = GPRInfo::regT2;
GPRReg scratchGPR = regT2;
#else
JSValueRegs leftRegs = JSValueRegs(regT1, regT0);
JSValueRegs rightRegs = JSValueRegs(regT3, regT2);
JSValueRegs resultRegs = leftRegs;
GPRReg scratchGPR = InvalidGPRReg;
GPRReg scratchGPR = regT4;
#endif

SnippetOperand leftOperand;

0 comments on commit 94bde51

Please sign in to comment.