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

Unified Diff: runtime/vm/allocation.h

Issue 944783002: Save top StackResource in entry frame. (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') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/allocation.h
===================================================================
--- runtime/vm/allocation.h (revision 43896)
+++ runtime/vm/allocation.h (working copy)
@@ -65,10 +65,10 @@
// StackResource is to break the header include cycles.
Isolate* isolate() const { return reinterpret_cast<Isolate*>(isolate_); }
- // Destroy stack resources of isolate from top until stack_pointer, exclusive.
- static void Unwind(Isolate* isolate, uword stack_pointer);
+ // Destroy stack resources of isolate until top exit frame.
+ static void Unwind(Isolate* isolate) { UnwindAbove(isolate, NULL); }
// Destroy stack resources of isolate above new_top, exclusive.
- static void Unwind(Isolate* isolate, StackResource* new_top);
+ static void UnwindAbove(Isolate* isolate, StackResource* new_top);
private:
BaseIsolate* const isolate_; // Current isolate for this stack resource.
« no previous file with comments | « no previous file | runtime/vm/allocation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698