| Index: src/frames-inl.h
|
| diff --git a/src/frames-inl.h b/src/frames-inl.h
|
| index 78bb646c78df386112ee023089c5e0e0128e2a62..f708f857ece943d7db637a2f282e7073ed6f5892 100644
|
| --- a/src/frames-inl.h
|
| +++ b/src/frames-inl.h
|
| @@ -30,6 +30,8 @@
|
|
|
| #include "frames.h"
|
|
|
| +#include "isolate.h"
|
| +
|
| #if V8_TARGET_ARCH_IA32
|
| #include "ia32/frames-ia32.h"
|
| #elif V8_TARGET_ARCH_X64
|
| @@ -91,6 +93,11 @@ inline StackHandler* StackFrame::top_handler() const {
|
| }
|
|
|
|
|
| +inline Code* StackFrame::GetContainingCode(Isolate* isolate, Address pc) {
|
| + return isolate->pc_to_code_cache()->GetCacheEntry(pc)->code;
|
| +}
|
| +
|
| +
|
| inline Object* StandardFrame::GetExpression(int index) const {
|
| return Memory::Object_at(GetExpressionAddress(index));
|
| }
|
|
|