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

Unified Diff: src/compiler/js-operator.cc

Issue 2810363003: [builtins] Introduce DeleteProperty builtin (Closed)
Patch Set: fix CallableFor not to create handles Created 3 years, 8 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
« no previous file with comments | « src/compiler/js-operator.h ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-operator.cc
diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc
index 74156b086de41691e59521e4d1690036970f4340..9b53d4bb54bb92e48a82bbe467c3cf0cad940b63 100644
--- a/src/compiler/js-operator.cc
+++ b/src/compiler/js-operator.cc
@@ -891,12 +891,11 @@ const Operator* JSOperatorBuilder::StoreNamedOwn(
parameters); // parameter
}
-const Operator* JSOperatorBuilder::DeleteProperty(LanguageMode language_mode) {
- return new (zone()) Operator1<LanguageMode>( // --
+const Operator* JSOperatorBuilder::DeleteProperty() {
+ return new (zone()) Operator( // --
IrOpcode::kJSDeleteProperty, Operator::kNoProperties, // opcode
"JSDeleteProperty", // name
- 2, 1, 1, 1, 1, 2, // counts
- language_mode); // parameter
+ 3, 1, 1, 1, 1, 2); // counts
}
« no previous file with comments | « src/compiler/js-operator.h ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698