Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index ee7636ec4b3ebbd7ef60b389026b488f2e1542f7..5f9bf744af80c13e0b9580da190845019cd8017a 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -603,7 +603,7 @@ MaybeObject* Accessors::FunctionGetArguments(Object* object, void*) { |
// Find the top invocation of the function by traversing frames. |
List<JSFunction*> functions(2); |
- for (JavaScriptFrameIterator it; !it.done(); it.Advance()) { |
+ for (JavaScriptFrameIterator it(isolate); !it.done(); it.Advance()) { |
JavaScriptFrame* frame = it.frame(); |
frame->GetFunctions(&functions); |
for (int i = functions.length() - 1; i >= 0; i--) { |
@@ -692,7 +692,7 @@ MaybeObject* Accessors::FunctionGetCaller(Object* object, void*) { |
Handle<JSFunction> function(holder, isolate); |
List<JSFunction*> functions(2); |
- for (JavaScriptFrameIterator it; !it.done(); it.Advance()) { |
+ for (JavaScriptFrameIterator it(isolate); !it.done(); it.Advance()) { |
JavaScriptFrame* frame = it.frame(); |
frame->GetFunctions(&functions); |
for (int i = functions.length() - 1; i >= 0; i--) { |