Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index de8c6fddc4231e5579a8b2afa6dd1a6276c478e9..5783da75817a1e94d599207bf153bfaf523b60d9 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -4518,7 +4518,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 (!GetHiddenProperties(jsproto, JSObject::OMIT_CREATION)->IsUndefined()) { |
Vitaly Repeshko
2011/07/28 13:30:07
Maybe we need HasHiddenProperties to simplify this
Michael Starzinger
2011/07/28 17:19:47
Fixed
|
proto_with_hidden_properties++; |
} |
if (i < length - 1) { |