Index: src/debug/debug-frames.cc |
diff --git a/src/debug/debug-frames.cc b/src/debug/debug-frames.cc |
index dac130fc8e1501ed5bef0c4b386b62ae2a4aab2a..a7956ff417975f7ad1121a45d92ec0836be27fa4 100644 |
--- a/src/debug/debug-frames.cc |
+++ b/src/debug/debug-frames.cc |
@@ -72,7 +72,8 @@ |
return deoptimized_frame_->GetSourcePosition(); |
} else if (is_interpreted_) { |
InterpretedFrame* frame = reinterpret_cast<InterpretedFrame*>(frame_); |
- BytecodeArray* bytecode_array = frame->GetBytecodeArray(); |
+ BytecodeArray* bytecode_array = |
+ frame->function()->shared()->bytecode_array(); |
return bytecode_array->SourcePosition(frame->GetBytecodeOffset()); |
} else { |
Code* code = frame_->LookupCode(); |