Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index dd101cb1af6436e3d2868b96864281705e6e33ee..21173b4bf92bbdf7c8422b0ab045e145baecbc83 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -720,7 +720,7 @@ bool Call::ComputeTarget(Handle<Map> type, Handle<String> name) { |
holder_ = Handle<JSObject>::null(); |
} |
while (true) { |
- LookupResult lookup; |
+ LookupResult lookup(type->GetIsolate()); |
type->LookupInDescriptors(NULL, *name, &lookup); |
// If the function wasn't found directly in the map, we start |
// looking upwards through the prototype chain. |