Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index fb0017a2df82f98968a7c18dbd83b9fd96393704..ab239b482452df8f007cee6d2781de34e7abef8c 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -114,7 +114,7 @@ Handle<Code> StubCache::ComputeLoadNonexistent(Handle<String> name, |
Handle<GlobalObject> global; |
do { |
current = Handle<JSObject>::cast(next); |
- next = Handle<Object>(current->GetPrototype()); |
+ next = Handle<Object>(current->GetPrototype(), isolate_); |
if (current->IsGlobalObject()) { |
global = Handle<GlobalObject>::cast(current); |
cache_name = name; |