| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index e1931887b864f6e1e8cf0ea722218df8e45cbcee..ae5aa78cae57fc078a87ed41d290a3c9b10a1597 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -4352,7 +4352,7 @@ MaybeObject* JSObject::DefineGetterSetter(String* name,
|
| } else {
|
| // Lookup the name.
|
| LookupResult result(heap->isolate());
|
| - LocalLookup(name, &result);
|
| + LocalLookupRealNamedProperty(name, &result);
|
| if (result.IsProperty()) {
|
| // TODO(mstarzinger): We should check for result.IsDontDelete() here once
|
| // we only call into the runtime once to set both getter and setter.
|
|
|