Chromium Code Reviews| Index: src/frames.cc |
| diff --git a/src/frames.cc b/src/frames.cc |
| index c4653c61e29f03ba0055841d99b0c862fca280ba..debd3ce69fee04d193c6e05420a5f78557bfa153 100644 |
| --- a/src/frames.cc |
| +++ b/src/frames.cc |
| @@ -1013,7 +1013,7 @@ void OptimizedFrame::Summarize(List<FrameSummary>* frames) { |
| abstract_code = AbstractCode::cast(code); |
| } else { |
| DCHECK_EQ(frame_opcode, Translation::INTERPRETED_FRAME); |
| - code_offset = bailout_id.ToInt(); |
| + code_offset = bailout_id.ToInt() - 1; |
|
mythria
2016/03/04 16:15:33
This is not a proper fix, but works. As Yang, poin
rmcilroy
2016/03/05 03:01:24
I'm not sure this is a problem, did you find anyth
|
| abstract_code = AbstractCode::cast(shared_info->bytecode_array()); |
| } |
| FrameSummary summary(receiver, function, abstract_code, code_offset, |