Title: [283479] trunk/Source/_javascript_Core
Revision
283479
Author
[email protected]
Date
2021-10-03 14:03:52 -0700 (Sun, 03 Oct 2021)

Log Message

Remove control reaches end of non-void function warning

Unreviewed. Warning introduced in r283139.

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::isConstantOwnedByUnlinkedCodeBlock const):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (283478 => 283479)


--- trunk/Source/_javascript_Core/ChangeLog	2021-10-03 21:02:20 UTC (rev 283478)
+++ trunk/Source/_javascript_Core/ChangeLog	2021-10-03 21:03:52 UTC (rev 283479)
@@ -1,3 +1,12 @@
+2021-10-03  Lauro Moura  <[email protected]>
+
+        Remove control reaches end of non-void function warning
+
+        Unreviewed. Warning introduced in r283139.
+
+        * bytecode/CodeBlock.cpp:
+        (JSC::CodeBlock::isConstantOwnedByUnlinkedCodeBlock const):
+
 2021-10-02  Yusuke Suzuki  <[email protected]>
 
         [JSC] DateTimeFormat.resolvedOptions shouldn't return an object with other date/time properties if dateStyle or timeStyle are set

Modified: trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp (283478 => 283479)


--- trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp	2021-10-03 21:02:20 UTC (rev 283478)
+++ trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp	2021-10-03 21:03:52 UTC (rev 283479)
@@ -938,6 +938,8 @@
     }
     case SourceCodeRepresentation::LinkTimeConstant:
         return false;
+    default:
+        RELEASE_ASSERT_NOT_REACHED();
     }
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to