Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 4a41fe4c7f1f6aab991cd7e188a79993bb47cd27..6e0ac938d00af72ad79859bcd503efcf638bad98 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -368,7 +368,7 @@ void Builtins::Generate_ObjectHasOwnProperty(CodeStubAssembler* assembler) { |
&call_runtime); |
assembler->Bind(&if_iskeyunique); |
- assembler->TryLookupProperty(object, map, instance_type, key, &return_true, |
+ assembler->TryHasOwnProperty(object, map, instance_type, key, &return_true, |
&return_false, &call_runtime); |
assembler->Bind(&keyisindex); |