Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index bd18302e1a3a5539ea18ffb92ee28f31294c3157..bdfea164744344bac81e45b7ed0b076c948089bf 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -4873,7 +4873,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_LocalKeys) { |
Handle<FixedArray> copy = isolate->factory()->NewFixedArray(length); |
for (int i = 0; i < length; i++) { |
Object* entry = contents->get(i); |
- if (entry->IsName()) { |
+ if (entry->IsString()) { |
copy->set(i, entry); |
} else { |
ASSERT(entry->IsNumber()); |