| Index: src/frames.cc
|
| diff --git a/src/frames.cc b/src/frames.cc
|
| index c17a9d5f82eab08e7de6bf45eb4170eb5c60ffd9..5d90f062e0a1c33e6d3838a07907466e05c80217 100644
|
| --- a/src/frames.cc
|
| +++ b/src/frames.cc
|
| @@ -814,8 +814,7 @@ void JavaScriptFrame::PrintTop(Isolate* isolate,
|
| PrintF("+%d", code_offset);
|
| SharedFunctionInfo* shared = fun->shared();
|
| if (print_line_number) {
|
| - Code* code = Code::cast(
|
| - v8::internal::Isolate::Current()->FindCodeObject(pc));
|
| + Code* code = Code::cast(isolate->FindCodeObject(pc));
|
| int source_pos = code->SourcePosition(pc);
|
| Object* maybe_script = shared->script();
|
| if (maybe_script->IsScript()) {
|
|
|