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

Unified Diff: runtime/vm/allocation.h

Issue 927363004: Verify/document assumption about stack resource addresses. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 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
« no previous file with comments | « no previous file | runtime/vm/allocation.cc » ('j') | runtime/vm/allocation.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/allocation.h
===================================================================
--- runtime/vm/allocation.h (revision 43776)
+++ runtime/vm/allocation.h (working copy)
@@ -65,6 +65,9 @@
// StackResource is to break the header include cycles.
Isolate* isolate() const { return reinterpret_cast<Isolate*>(isolate_); }
+ // Destroys stack resources of isolate from its top until stack_pointer.
+ static void Unwind(Isolate* isolate, uword stack_pointer);
+
private:
BaseIsolate* const isolate_; // Current isolate for this stack resource.
StackResource* previous_;
« no previous file with comments | « no previous file | runtime/vm/allocation.cc » ('j') | runtime/vm/allocation.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698