Title: [271256] branches/safari-610.4.3.0-branch/Source/_javascript_Core/dfg/DFGConstantFoldingPhase.cpp
Revision
271256
Author
[email protected]
Date
2021-01-07 12:56:19 -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.0-branch/Source/_javascript_Core/dfg/DFGConstantFoldingPhase.cpp (271255 => 271256)


--- branches/safari-610.4.3.0-branch/Source/_javascript_Core/dfg/DFGConstantFoldingPhase.cpp	2021-01-07 20:54:45 UTC (rev 271255)
+++ branches/safari-610.4.3.0-branch/Source/_javascript_Core/dfg/DFGConstantFoldingPhase.cpp	2021-01-07 20:56:19 UTC (rev 271256)
@@ -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