Index: src/deoptimizer.h |
diff --git a/src/deoptimizer.h b/src/deoptimizer.h |
index 8b1152d52957a7da6e37ecb56c4a07d17767accd..db6a59a259bd4b4fa3d28da6c34d3bf308d459d9 100644 |
--- a/src/deoptimizer.h |
+++ b/src/deoptimizer.h |
@@ -749,6 +749,10 @@ class DeoptimizedFrameInfo : public Malloced { |
return expression_stack_[index]; |
} |
+ Address GetPc() { |
+ return reinterpret_cast<Address>(pc_); |
+ } |
+ |
private: |
// Set the frame function. |
void SetFunction(JSFunction* function) { |
@@ -772,6 +776,7 @@ class DeoptimizedFrameInfo : public Malloced { |
int expression_count_; |
Object** parameters_; |
Object** expression_stack_; |
+ intptr_t pc_; |
friend class Deoptimizer; |
}; |