Follup fix to r228411 for 32-bit builds. I missed a place where we used non vararg...
authorsbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Feb 2018 23:03:21 +0000 (23:03 +0000)
committersbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Feb 2018 23:03:21 +0000 (23:03 +0000)
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp

index 2a3c243..0225ee0 100644 (file)
@@ -1,3 +1,10 @@
+2018-02-13  Saam Barati  <sbarati@apple.com>
+
+        Follup fix to r228411 for 32-bit builds. I missed a place where we used non vararg getter for child2().
+
+        * dfg/DFGSpeculativeJIT32_64.cpp:
+        (JSC::DFG::SpeculativeJIT::compile):
+
 2018-02-13  Guillaume Emont  <guijemont@igalia.com>
 
         [YarrJIT][ARM] We need to save r8 as it is the initial start register
index 67af37b..22d438d 100644 (file)
@@ -2576,7 +2576,7 @@ void SpeculativeJIT::compile(Node* node)
                     break;
                 }
 
-                if (node->child2().useKind() == SymbolUse) {
+                if (m_graph.varArgChild(node, 1).useKind() == SymbolUse) {
                     compileGetByValForObjectWithSymbol(node);
                     break;
                 }