| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 7497f09d51979e50091d47b03e0523433d39168c..c2995773e3fe31d250f1e8ab76e82b848885a28d 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -565,8 +565,7 @@ static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) {
|
| if (info->is_eval()) {
|
| StackTraceFrameIterator it(isolate);
|
| if (!it.done()) {
|
| - script->set_eval_from_shared(
|
| - JSFunction::cast(it.frame()->function())->shared());
|
| + script->set_eval_from_shared(it.frame()->function()->shared());
|
| Code* code = it.frame()->LookupCode();
|
| int offset = static_cast<int>(
|
| it.frame()->pc() - code->instruction_start());
|
|
|