Gardening: fix CLOOP build after r182927.
authormark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Apr 2015 01:03:55 +0000 (01:03 +0000)
committermark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Apr 2015 01:03:55 +0000 (01:03 +0000)
Not reviewed.

* interpreter/StackVisitor.cpp:
(JSC::StackVisitor::Frame::print):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/interpreter/StackVisitor.cpp

index df29be9b118ed7d7f81c782a2456bfdc5ab6e73a..b433a62203aaaaa71e996aed07aa8b261a1ae9ce 100644 (file)
@@ -1,3 +1,12 @@
+2015-04-16  Mark Lam  <mark.lam@apple.com>
+
+        Gardening: fix CLOOP build after r182927.
+
+        Not reviewed.
+
+        * interpreter/StackVisitor.cpp:
+        (JSC::StackVisitor::Frame::print):
+
 2015-04-16  Basile Clement  <basile_clement@apple.com>
 
         Inline JSFunction allocation in FTL
 2015-04-16  Basile Clement  <basile_clement@apple.com>
 
         Inline JSFunction allocation in FTL
index d4f85ba94a4fa31ba578a749cd9587480fd2440a..6496fa4d4570e7f13d7f3a3d0528c80d35834172 100644 (file)
@@ -364,7 +364,9 @@ void StackVisitor::Frame::print(int indent)
         log(indent, "name: ", functionName(), "\n");
         log(indent, "sourceURL: ", sourceURL(), "\n");
 
         log(indent, "name: ", functionName(), "\n");
         log(indent, "sourceURL: ", sourceURL(), "\n");
 
+        bool isInlined = false;
 #if ENABLE(DFG_JIT)
 #if ENABLE(DFG_JIT)
+        isInlined = isInlinedFrame();
         log(indent, "isInlinedFrame: ", isInlinedFrame(), "\n");
         if (isInlinedFrame())
             logF(indent, "InlineCallFrame: %p\n", m_inlineCallFrame);
         log(indent, "isInlinedFrame: ", isInlinedFrame(), "\n");
         if (isInlinedFrame())
             logF(indent, "InlineCallFrame: %p\n", m_inlineCallFrame);
@@ -379,7 +381,7 @@ void StackVisitor::Frame::print(int indent)
         if (codeBlock)
             dataLog(*codeBlock);
         dataLog("\n");
         if (codeBlock)
             dataLog(*codeBlock);
         dataLog("\n");
-        if (codeBlock && !isInlinedFrame()) {
+        if (codeBlock && !isInlined) {
             indent++;
 
             if (callFrame->hasLocationAsBytecodeOffset()) {
             indent++;
 
             if (callFrame->hasLocationAsBytecodeOffset()) {