| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index dea94fabdd0f45067555d78cc92faa9dff4e333c..4d90c97aba2a2ba1f2ffcd108c0798919a353487 100755
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -367,11 +367,11 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) {
|
| // For eval scripts add information on the function from which eval was
|
| // called.
|
| if (info->is_eval()) {
|
| - StackTraceFrameIterator it;
|
| + StackTraceFrameIterator it(isolate);
|
| if (!it.done()) {
|
| script->set_eval_from_shared(
|
| JSFunction::cast(it.frame()->function())->shared());
|
| - Code* code = it.frame()->LookupCode(isolate);
|
| + Code* code = it.frame()->LookupCode();
|
| int offset = static_cast<int>(
|
| it.frame()->pc() - code->instruction_start());
|
| script->set_eval_from_instructions_offset(Smi::FromInt(offset));
|
|
|