| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index df225b63f3fcc66734c27563908ee261584cd2ad..f9652769886c91333542e3a268f3728fed334310 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -4532,7 +4532,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_GetLocalPropertyNames) {
|
| for (int i = 0; i < length; i++) {
|
| jsproto->GetLocalPropertyNames(*names,
|
| i == 0 ? 0 : local_property_count[i - 1]);
|
| - if (!GetHiddenProperties(jsproto, false)->IsUndefined()) {
|
| + if (jsproto->HasHiddenProperties()) {
|
| proto_with_hidden_properties++;
|
| }
|
| if (i < length - 1) {
|
|
|