Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 2d5c3c71c345977a12ce8483e23ff6438c9a931d..faa92e04a9a0c0a1505cef296a7d65bbef6fa872 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -866,6 +866,7 @@ void JavaScriptFrame::Summarize(List<FrameSummary>* functions, |
FrameSummary::Mode mode) const { |
DCHECK(functions->length() == 0); |
Code* code = LookupCode(); |
+ |
int offset = static_cast<int>(pc() - code->instruction_start()); |
AbstractCode* abstract_code = AbstractCode::cast(code); |
FrameSummary summary(receiver(), function(), abstract_code, offset, |