Title: [252801] trunk/Source/_javascript_Core
Revision
252801
Author
pvol...@apple.com
Date
2019-11-22 14:21:06 -0800 (Fri, 22 Nov 2019)

Log Message

Fix compile error in release mode
https://bugs.webkit.org/show_bug.cgi?id=204534

Reviewed by Mark Lam.

A compiler error is thrown in release mode when compiling FullBytecodeLiveness::getLiveness,
since not all paths are returning a value.

* bytecode/FullBytecodeLiveness.h:
(JSC::FullBytecodeLiveness::getLiveness const):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (252800 => 252801)


--- trunk/Source/_javascript_Core/ChangeLog	2019-11-22 22:13:28 UTC (rev 252800)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-11-22 22:21:06 UTC (rev 252801)
@@ -1,3 +1,16 @@
+2019-11-22  Per Arne Vollan  <pvol...@apple.com>
+
+        Fix compile error in release mode
+        https://bugs.webkit.org/show_bug.cgi?id=204534
+
+        Reviewed by Mark Lam.
+
+        A compiler error is thrown in release mode when compiling FullBytecodeLiveness::getLiveness,
+        since not all paths are returning a value.
+
+        * bytecode/FullBytecodeLiveness.h:
+        (JSC::FullBytecodeLiveness::getLiveness const):
+
 2019-11-22  Tadeu Zagallo  <tzaga...@apple.com>
 
         [WebAssembly] Improve Wasm::LLIntGenerator

Modified: trunk/Source/_javascript_Core/bytecode/FullBytecodeLiveness.h (252800 => 252801)


--- trunk/Source/_javascript_Core/bytecode/FullBytecodeLiveness.h	2019-11-22 22:13:28 UTC (rev 252800)
+++ trunk/Source/_javascript_Core/bytecode/FullBytecodeLiveness.h	2019-11-22 22:21:06 UTC (rev 252801)
@@ -44,7 +44,7 @@
         case LivenessCalculationPoint::AfterUse:
             return m_afterUseVector[bytecodeIndex.offset()];
         }
-        ASSERT_NOT_REACHED();
+        RELEASE_ASSERT_NOT_REACHED();
     }
     
     bool operandIsLive(int operand, BytecodeIndex bytecodeIndex, LivenessCalculationPoint point) const
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to