Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index 0bea37842fb47a80687f05b5f787ffe42e9d9ef0..864308c7dd30c51b862aa40021bf4bf0cd8c4c3c 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -99,16 +99,17 @@ class StackHandler BASE_EMBEDDED { |
#define STACK_FRAME_TYPE_LIST(V) \ |
- V(ENTRY, EntryFrame) \ |
- V(ENTRY_CONSTRUCT, EntryConstructFrame) \ |
- V(EXIT, ExitFrame) \ |
- V(JAVA_SCRIPT, JavaScriptFrame) \ |
- V(OPTIMIZED, OptimizedFrame) \ |
- V(STUB, StubFrame) \ |
+ V(ENTRY, EntryFrame) \ |
+ V(ENTRY_CONSTRUCT, EntryConstructFrame) \ |
+ V(EXIT, ExitFrame) \ |
+ V(JAVA_SCRIPT, JavaScriptFrame) \ |
+ V(OPTIMIZED, OptimizedFrame) \ |
+ V(INTERPRETED, InterpretedFrame) \ |
oth
2015/10/14 12:19:32
Not asking for a change, but wonder about Interpre
rmcilroy
2015/10/14 14:18:47
I was trying to keep this similar to OPTIMIZED / O
|
+ V(STUB, StubFrame) \ |
V(STUB_FAILURE_TRAMPOLINE, StubFailureTrampolineFrame) \ |
- V(INTERNAL, InternalFrame) \ |
- V(CONSTRUCT, ConstructFrame) \ |
- V(ARGUMENTS_ADAPTOR, ArgumentsAdaptorFrame) |
+ V(INTERNAL, InternalFrame) \ |
+ V(CONSTRUCT, ConstructFrame) \ |
+ V(ARGUMENTS_ADAPTOR, ArgumentsAdaptorFrame) |
class StandardFrameConstants : public AllStatic { |
@@ -702,6 +703,17 @@ class OptimizedFrame : public JavaScriptFrame { |
}; |
+class InterpretedFrame : public JavaScriptFrame { |
+ virtual Type type() const { return INTERPRETED; } |
+ |
+ protected: |
+ inline explicit InterpretedFrame(StackFrameIteratorBase* iterator); |
+ |
+ private: |
+ friend class StackFrameIteratorBase; |
+}; |
+ |
+ |
// Arguments adaptor frames are automatically inserted below |
// JavaScript frames when the actual number of parameters does not |
// match the formal number of parameters. |