Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: src/compiler/simplified-lowering.cc

Issue 2218703003: [turbofan] Add support for copy-on-write element stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler/simplified-lowering.cc
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc
index a277388df2ce7c1dcf7e5f19ed4b1426f65fe2f3..cc5ba392d91f95d0afca895224ecbc45f1517d47 100644
--- a/src/compiler/simplified-lowering.cc
+++ b/src/compiler/simplified-lowering.cc
@@ -2390,6 +2390,9 @@ class RepresentationSelector {
VisitInputs(node);
return SetOutput(node, MachineRepresentation::kNone);
}
+ case IrOpcode::kEnsureWritableFastElements:
+ return VisitBinop(node, UseInfo::AnyTagged(),
+ MachineRepresentation::kTagged);
//------------------------------------------------------------------
// Machine-level operators.

Powered by Google App Engine
This is Rietveld 408576698