| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 576e9eab5e8d6b85d63a3194ba5f8d4b48a87729..4b2d1d204a2548a49b30ad3e28cc91dd475fd084 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -574,8 +574,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());
|
|
|