Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index bee95ccbf1d2582c448a344280429cc6e07f7bdf..3294eeee26eb08d371d54de249d352f81b90f018 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -430,7 +430,7 @@ class FrameSummary BASE_EMBEDDED { |
Handle<Object> receiver() { return receiver_; } |
Handle<JSFunction> function() { return function_; } |
Handle<Code> code() { return code_; } |
- Address pc() { return reinterpret_cast<Address>(*code_) + offset_; } |
+ Address pc() { return code_->address() + offset_; } |
int offset() { return offset_; } |
bool is_constructor() { return is_constructor_; } |