Index: src/debug/debug-scopes.cc |
diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc |
index e034142e4a1449c0576d40f297a995a0c996d8ae..20df4f164307ad7ace15a69ff87a74ff30e1af06 100644 |
--- a/src/debug/debug-scopes.cc |
+++ b/src/debug/debug-scopes.cc |
@@ -760,7 +760,7 @@ void ScopeIterator::CopyContextLocalsToScopeObject( |
// TODO(verwaest): Use AddDataProperty instead. |
JSObject::SetOwnPropertyIgnoreAttributes( |
scope_object, handle(String::cast(scope_info->get(i + start))), value, |
- ::NONE) |
+ NONE) |
.Check(); |
} |
} |
@@ -771,7 +771,8 @@ bool ScopeIterator::CopyContextExtensionToScopeObject( |
JSReceiver::KeyCollectionType type) { |
Handle<FixedArray> keys; |
ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
- isolate_, keys, JSReceiver::GetKeys(extension, type), false); |
+ isolate_, keys, JSReceiver::GetKeys(extension, type, ENUMERABLE_STRINGS), |
+ false); |
for (int i = 0; i < keys->length(); i++) { |
// Names of variables introduced by eval are strings. |