Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Unified Diff: src/frames.h

Issue 2943002: Reimplement stack manipulations for LiveEdit (Closed)
Patch Set: follow codereview Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/factory.cc ('k') | src/frames.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.h
diff --git a/src/frames.h b/src/frames.h
index 102244c9ba2f81879b823b69ebfe4fd6c46fa324..02fc144d1529a32eccb729976d64278190ffbef6 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -317,6 +317,8 @@ class StandardFrame: public StackFrame {
virtual void SetCallerFp(Address caller_fp);
+ void SetContext(Context* context);
+
static StandardFrame* cast(StackFrame* frame) {
ASSERT(frame->is_standard());
return static_cast<StandardFrame*>(frame);
@@ -677,6 +679,10 @@ class StackFrameLocator BASE_EMBEDDED {
// zone memory.
Vector<StackFrame*> CreateStackMap();
+// Returns memory size of a particular type of stack frame (for object
+// memory manipulations).
+int GetStackFrameObjectSize(StackFrame* frame);
+
} } // namespace v8::internal
#endif // V8_FRAMES_H_
« no previous file with comments | « src/factory.cc ('k') | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698