Title: [200984] trunk/Source/_javascript_Core
Revision
200984
Author
sbar...@apple.com
Date
2016-05-16 17:29:40 -0700 (Mon, 16 May 2016)

Log Message

Unreviewed Cloop build fix.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::bytecodeOffsetFromCallSiteIndex):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (200983 => 200984)


--- trunk/Source/_javascript_Core/ChangeLog	2016-05-17 00:15:31 UTC (rev 200983)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-05-17 00:29:40 UTC (rev 200984)
@@ -1,5 +1,12 @@
 2016-05-16  Saam barati  <sbar...@apple.com>
 
+        Unreviewed Cloop build fix.
+
+        * bytecode/CodeBlock.cpp:
+        (JSC::CodeBlock::bytecodeOffsetFromCallSiteIndex):
+
+2016-05-16  Saam barati  <sbar...@apple.com>
+
         Hook up ShadowChicken to the debugger to show tail deleted frames
         https://bugs.webkit.org/show_bug.cgi?id=156685
         <rdar://problem/25770521>

Modified: trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp (200983 => 200984)


--- trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp	2016-05-17 00:15:31 UTC (rev 200983)
+++ trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp	2016-05-17 00:29:40 UTC (rev 200984)
@@ -4404,9 +4404,13 @@
         bytecodeOffset = instruction - instructions().begin();
 #endif
     } else if (jitType == JITCode::DFGJIT || jitType == JITCode::FTLJIT) {
+#if ENABLE(DFG_JIT)
         RELEASE_ASSERT(canGetCodeOrigin(callSiteIndex));
         CodeOrigin origin = codeOrigin(callSiteIndex);
         bytecodeOffset = origin.bytecodeIndex;
+#else
+        RELEASE_ASSERT_NOT_REACHED();
+#endif
     }
 
     return bytecodeOffset;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to