Gardening: CLoop build fix.
authormark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Jun 2017 12:35:05 +0000 (12:35 +0000)
committermark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Jun 2017 12:35:05 +0000 (12:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=173700
<rdar://problem/32926032>

Not reviewed.

* llint/LLIntSlowPaths.cpp:
(JSC::LLInt::LLINT_SLOW_PATH_DECL):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/llint/LLIntSlowPaths.cpp

index 99cd39e..54ef0a4 100644 (file)
@@ -1,5 +1,16 @@
 2017-06-28  Mark Lam  <mark.lam@apple.com>
 
+        Gardening: CLoop build fix.
+        https://bugs.webkit.org/show_bug.cgi?id=173700
+        <rdar://problem/32926032>
+
+        Not reviewed.
+
+        * llint/LLIntSlowPaths.cpp:
+        (JSC::LLInt::LLINT_SLOW_PATH_DECL):
+
+2017-06-28  Mark Lam  <mark.lam@apple.com>
+
         Ensure that computed new stack pointer values do not underflow.
         https://bugs.webkit.org/show_bug.cgi?id=173700
         <rdar://problem/32926032>
index 05bd184..34987bb 100644 (file)
@@ -511,7 +511,7 @@ LLINT_SLOW_PATH_DECL(stack_check)
     // throw the StackOverflowError unconditionally.
 #if !ENABLE(JIT)
     Register* topOfFrame = exec->topOfFrame();
-    if (LIKELY(topOfFrame < exec)) {
+    if (LIKELY(topOfFrame < reinterpret_cast<Register*>(exec))) {
         ASSERT(!vm.interpreter->cloopStack().containsAddress(topOfFrame));
         if (LIKELY(vm.ensureStackCapacityFor(topOfFrame)))
             LLINT_RETURN_TWO(pc, 0);