Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index a4d91a9fa23b2de35911a4e3fa85754b5cdc957b..7776e247215133bd97827b11a2e895fdaed08ee6 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -4343,7 +4343,7 @@ compiler::Node* HasPropertyStub::Generate(CodeStubAssembler* assembler, |
assembler->Bind(&loop); |
{ |
Label next_proto(assembler); |
- assembler->TryLookupProperty(var_object.value(), var_map.value(), |
+ assembler->TryHasOwnProperty(var_object.value(), var_map.value(), |
var_instance_type.value(), key, &return_true, |
&next_proto, &call_runtime); |
assembler->Bind(&next_proto); |