Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 5e6ff7a9f6b910716221a63f4295137072d74b6b..111c2696c865c570375d23bc05ab4764e04bb0d5 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -3570,7 +3570,7 @@ void Genesis::TransferNamedProperties(Handle<JSObject> from, |
int capacity = properties->Capacity(); |
for (int i = 0; i < capacity; i++) { |
Object* raw_key(properties->KeyAt(i)); |
- if (properties->IsKey(raw_key)) { |
+ if (properties->IsKey(isolate(), raw_key)) { |
DCHECK(raw_key->IsName()); |
// If the property is already there we skip it. |
Handle<Name> key(Name::cast(raw_key)); |
@@ -3593,7 +3593,7 @@ void Genesis::TransferNamedProperties(Handle<JSObject> from, |
int capacity = properties->Capacity(); |
for (int i = 0; i < capacity; i++) { |
Object* raw_key(properties->KeyAt(i)); |
- if (properties->IsKey(raw_key)) { |
+ if (properties->IsKey(isolate(), raw_key)) { |
DCHECK(raw_key->IsName()); |
// If the property is already there we skip it. |
Handle<Name> key(Name::cast(raw_key)); |