Title: [271255] branches/safari-610.4.3.1-branch/Source/_javascript_Core/dfg/DFGConstantFoldingPhase.cpp
Revision
271255
Author
[email protected]
Date
2021-01-07 12:54:45 -0800 (Thu, 07 Jan 2021)

Log Message

Unreviewed build fix, rdar://problem/72894016

./dfg/DFGConstantFoldingPhase.cpp:710:33: error: non-void function 'foldConstants' should return a value [-Wreturn-type]

Modified Paths

Diff

Modified: branches/safari-610.4.3.1-branch/Source/_javascript_Core/dfg/DFGConstantFoldingPhase.cpp (271254 => 271255)


--- branches/safari-610.4.3.1-branch/Source/_javascript_Core/dfg/DFGConstantFoldingPhase.cpp	2021-01-07 20:26:26 UTC (rev 271254)
+++ branches/safari-610.4.3.1-branch/Source/_javascript_Core/dfg/DFGConstantFoldingPhase.cpp	2021-01-07 20:54:45 UTC (rev 271255)
@@ -707,7 +707,8 @@
                         if (variant.kind() == PutByIdVariant::Replace) {
                             auto* watchpoints = structure->propertyReplacementWatchpointSet(condition.offset());
                             if (!watchpoints || watchpoints->isStillValid())
-                                return;
+                                allGood = false;
+                                break;
                         }
 
                         m_insertionSet.insertNode(
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to