Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 2b333c06c50b18a873e025b44a89351298c535a5..9a25b08c63b9d1a5500d342396a327e9b26dbc47 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -309,10 +309,10 @@ void JSGenericLowering::LowerJSStoreDataPropertyInLiteral(Node* node) { |
} |
void JSGenericLowering::LowerJSDeleteProperty(Node* node) { |
- LanguageMode language_mode = OpParameter<LanguageMode>(node); |
- ReplaceWithRuntimeCall(node, is_strict(language_mode) |
- ? Runtime::kDeleteProperty_Strict |
- : Runtime::kDeleteProperty_Sloppy); |
+ CallDescriptor::Flags flags = FrameStateFlagForCall(node); |
+ Callable callable = |
+ Builtins::CallableFor(isolate(), Builtins::kDeleteProperty); |
+ ReplaceWithStubCall(node, callable, flags); |
} |
void JSGenericLowering::LowerJSGetSuperConstructor(Node* node) { |