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

Unified Diff: runtime/vm/stack_frame.h

Issue 12179020: Fix for issues 6080 - pass in the Isolate's top context into the stub for invoking dart code from n… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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
Index: runtime/vm/stack_frame.h
===================================================================
--- runtime/vm/stack_frame.h (revision 18203)
+++ runtime/vm/stack_frame.h (working copy)
@@ -13,6 +13,7 @@
// Forward declarations.
class ObjectPointerVisitor;
+class RawContext;
// Generic stack frame.
@@ -118,6 +119,8 @@
bool IsStubFrame() const { return false; }
bool IsEntryFrame() const { return true; }
+ RawContext* SavedContext() const;
+
// Visit objects in the frame.
virtual void VisitObjectPointers(ObjectPointerVisitor* visitor);
@@ -126,7 +129,8 @@
private:
EntryFrame() { }
- intptr_t ExitLinkOffset();
+ intptr_t ExitLinkOffset() const;
+ intptr_t SavedContextOffset() const;
friend class StackFrameIterator;
DISALLOW_COPY_AND_ASSIGN(EntryFrame);
« runtime/vm/parser.cc ('K') | « runtime/vm/scopes.cc ('k') | runtime/vm/stack_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698