Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 61485d4acc078318b83696109c59d6ee82a63fd6..94310714099c490fa633b677c4a3daf539698442 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -329,7 +329,9 @@ void JSGenericLowering::LowerJSDeleteProperty(Node* node) { |
void JSGenericLowering::LowerJSHasProperty(Node* node) { |
- ReplaceWithRuntimeCall(node, Runtime::kHasProperty); |
+ CallDescriptor::Flags flags = AdjustFrameStatesForCall(node); |
+ Callable callable = CodeFactory::HasProperty(isolate()); |
+ ReplaceWithStubCall(node, callable, flags); |
} |