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

Unified Diff: vm/handles.h

Issue 9124012: - Pass in the isolate parameter when creating handles. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 8 years, 11 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 | « vm/dart_api_impl.cc ('k') | vm/handles.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/handles.h
===================================================================
--- vm/handles.h (revision 3046)
+++ vm/handles.h (working copy)
@@ -88,11 +88,11 @@
// Allocates a handle in the current handle scope. This handle is valid only
// in the current handle scope and is destroyed when the current handle
// scope ends.
- static uword AllocateHandle();
+ static uword AllocateHandle(Isolate* isolate);
// Allocates a handle in the current zone. This handle will be destroyed
// when the current zone is destroyed.
- static uword AllocateZoneHandle();
+ static uword AllocateZoneHandle(Isolate* isolate);
// Returns true if specified handle is a zone handle.
static bool IsZoneHandle(uword handle);
@@ -240,11 +240,11 @@
// Allocates a handle in the current handle scope. This handle is valid only
// in the current handle scope and is destroyed when the current handle
// scope ends.
- static uword AllocateHandle();
+ static uword AllocateHandle(Isolate* isolate);
// Allocates a handle in the current zone. This handle will be destroyed
// when the current zone is destroyed.
- static uword AllocateZoneHandle();
+ static uword AllocateZoneHandle(Isolate* isolate);
// Returns true if specified handle is a zone handle.
static bool IsZoneHandle(uword handle);
« no previous file with comments | « vm/dart_api_impl.cc ('k') | vm/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698