Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index 6a9570eead57305feb5eec5bde7de33b88f38089..ce8a6f5655e6c41358cdd070670dd667faee4ab6 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -264,12 +264,12 @@ class StackFrame BASE_EMBEDDED { |
PrintMode mode, |
int index) const { } |
+ Isolate* isolate() const { return isolate_; } |
+ |
protected: |
inline explicit StackFrame(StackFrameIterator* iterator); |
virtual ~StackFrame() { } |
- Isolate* isolate() const { return isolate_; } |
- |
// Compute the stack pointer for the calling frame. |
virtual Address GetCallerStackPointer() const = 0; |
@@ -556,33 +556,31 @@ class JavaScriptFrame: public StandardFrame { |
}; |
-class CompiledFrame : public JavaScriptFrame { |
- public: |
- virtual Type type() const = 0; |
- |
- // GC support. |
- virtual void Iterate(ObjectVisitor* v) const; |
- |
- protected: |
- inline explicit CompiledFrame(StackFrameIterator* iterator); |
-}; |
- |
+void IterateCompiledFrame(StandardFrame* frame, |
+ ObjectVisitor* v); |
-class StubFrame : public CompiledFrame { |
+class StubFrame : public StandardFrame { |
public: |
virtual Type type() const { return STUB; } |
// GC support. |
virtual void Iterate(ObjectVisitor* v) const; |
+ // Determine the code for the frame. |
+ virtual Code* unchecked_code() const; |
+ |
protected: |
inline explicit StubFrame(StackFrameIterator* iterator); |
+ virtual Address GetCallerStackPointer() const; |
+ |
+ virtual int GetNumberOfIncomingArguments() const; |
+ |
friend class StackFrameIterator; |
}; |
-class OptimizedFrame : public CompiledFrame { |
+class OptimizedFrame : public JavaScriptFrame { |
public: |
virtual Type type() const { return OPTIMIZED; } |