Unreviewed, build fix for 32bit
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Apr 2018 09:37:14 +0000 (09:37 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Apr 2018 09:37:14 +0000 (09:37 +0000)
https://bugs.webkit.org/show_bug.cgi?id=184236

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileGetDirectPname):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230520 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

index ba51850..5c5b54b 100644 (file)
@@ -1,5 +1,13 @@
 2018-04-11  Yusuke Suzuki  <utatane.tea@gmail.com>
 
+        Unreviewed, build fix for 32bit
+        https://bugs.webkit.org/show_bug.cgi?id=184236
+
+        * dfg/DFGSpeculativeJIT.cpp:
+        (JSC::DFG::SpeculativeJIT::compileGetDirectPname):
+
+2018-04-11  Yusuke Suzuki  <utatane.tea@gmail.com>
+
         [DFG] Remove duplicate 32bit code more
         https://bugs.webkit.org/show_bug.cgi?id=184236
 
index 3ec49ca..cef9dec 100644 (file)
@@ -12786,13 +12786,13 @@ void SpeculativeJIT::compileGetDirectPname(Node* node)
 
     // Otherwise it's out of line
     outOfLineAccess.link(&m_jit);
-    m_jit.loadPtr(MacroAssembler::Address(baseGPR, JSObject::butterflyOffset()), resultRegs.gpr());
+    m_jit.loadPtr(MacroAssembler::Address(baseGPR, JSObject::butterflyOffset()), resultRegs.payloadGPR());
     m_jit.move(indexGPR, scratchGPR);
     m_jit.sub32(MacroAssembler::Address(enumeratorGPR, JSPropertyNameEnumerator::cachedInlineCapacityOffset()), scratchGPR);
     m_jit.neg32(scratchGPR);
     m_jit.signExtend32ToPtr(scratchGPR, scratchGPR);
     int32_t offsetOfFirstProperty = static_cast<int32_t>(offsetInButterfly(firstOutOfLineOffset)) * sizeof(EncodedJSValue);
-    m_jit.loadValue(MacroAssembler::BaseIndex(resultRegs.gpr(), scratchGPR, MacroAssembler::TimesEight, offsetOfFirstProperty), resultRegs);
+    m_jit.loadValue(MacroAssembler::BaseIndex(resultRegs.payloadGPR(), scratchGPR, MacroAssembler::TimesEight, offsetOfFirstProperty), resultRegs);
 
     done.link(&m_jit);