REGRESSION(r202992): JSC varargs tests are broken
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Jul 2016 09:28:54 +0000 (09:28 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Jul 2016 09:28:54 +0000 (09:28 +0000)
https://bugs.webkit.org/show_bug.cgi?id=159616

Reviewed by Csaba Osztrogon√°c.

The substitution miss in r202992 causes varargs tests failures in GTK port.

* jit/SetupVarargsFrame.cpp:
(JSC::emitSetupVarargsFrameFastCase):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jit/SetupVarargsFrame.cpp

index 5f62f55..92f217a 100644 (file)
@@ -1,3 +1,15 @@
+2016-07-11  Yusuke Suzuki  <utatane.tea@gmail.com>
+
+        REGRESSION(r202992): JSC varargs tests are broken
+        https://bugs.webkit.org/show_bug.cgi?id=159616
+
+        Reviewed by Csaba Osztrogon√°c.
+
+        The substitution miss in r202992 causes varargs tests failures in GTK port.
+
+        * jit/SetupVarargsFrame.cpp:
+        (JSC::emitSetupVarargsFrameFastCase):
+
 2016-07-10  Yusuke Suzuki  <utatane.tea@gmail.com>
 
         [ES6] Promise.{all,race} no longer use @@species
index 5c119e7..22cbba0 100644 (file)
@@ -82,7 +82,7 @@ void emitSetupVarargsFrameFastCase(CCallHelpers& jit, GPRReg numUsedSlotsGPR, GP
     
     emitSetVarargsFrame(jit, scratchGPR1, true, numUsedSlotsGPR, scratchGPR2);
 
-    slowCase.append(jit.branchPtr(CCallHelpers::Above, CCallHelpers::AbsoluteAddress(jit.vm()->osStackLimitWithReserve()), scratchGPR2));
+    slowCase.append(jit.branchPtr(CCallHelpers::Above, CCallHelpers::AbsoluteAddress(jit.vm()->addressOfOSStackLimitWithReserve()), scratchGPR2));
 
     // Initialize ArgumentCount.
     jit.store32(scratchGPR1, CCallHelpers::Address(scratchGPR2, CallFrameSlot::argumentCount * static_cast<int>(sizeof(Register)) + PayloadOffset));