Title: [196757] trunk/Source/_javascript_Core
Revision
196757
Author
[email protected]
Date
2016-02-18 08:45:26 -0800 (Thu, 18 Feb 2016)

Log Message

Fix the !ENABLE(DFG_JIT) build after r195865
https://bugs.webkit.org/show_bug.cgi?id=154391

Reviewed by Filip Pizlo.

* runtime/SamplingProfiler.cpp:
(JSC::tryGetBytecodeIndex):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (196756 => 196757)


--- trunk/Source/_javascript_Core/ChangeLog	2016-02-18 16:40:25 UTC (rev 196756)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-02-18 16:45:26 UTC (rev 196757)
@@ -1,3 +1,13 @@
+2016-02-18  Csaba Osztrogonác  <[email protected]>
+
+        Fix the !ENABLE(DFG_JIT) build after r195865
+        https://bugs.webkit.org/show_bug.cgi?id=154391
+
+        Reviewed by Filip Pizlo.
+
+        * runtime/SamplingProfiler.cpp:
+        (JSC::tryGetBytecodeIndex):
+
 2016-02-17  Filip Pizlo  <[email protected]>
 
         Remove remaining references to LLVM, and make sure comments refer to the backend as "B3" not "LLVM"

Modified: trunk/Source/_javascript_Core/runtime/SamplingProfiler.cpp (196756 => 196757)


--- trunk/Source/_javascript_Core/runtime/SamplingProfiler.cpp	2016-02-18 16:40:25 UTC (rev 196756)
+++ trunk/Source/_javascript_Core/runtime/SamplingProfiler.cpp	2016-02-18 16:45:26 UTC (rev 196757)
@@ -296,7 +296,9 @@
 
 static ALWAYS_INLINE unsigned tryGetBytecodeIndex(unsigned llintPC, CodeBlock* codeBlock, bool& isValid)
 {
+#if ENABLE(DFG_JIT)
     RELEASE_ASSERT(!codeBlock->hasCodeOrigins());
+#endif
 
 #if USE(JSVALUE64)
     unsigned bytecodeIndex = llintPC;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to