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

Unified Diff: runtime/vm/handles.cc

Issue 868913002: Add Zone-based handle allocation interface and reduce use of Isolate-based interfaces. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 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 | « runtime/vm/handles.h ('k') | runtime/vm/handles_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/handles.cc
===================================================================
--- runtime/vm/handles.cc (revision 43075)
+++ runtime/vm/handles.cc (working copy)
@@ -43,17 +43,17 @@
}
-uword VMHandles::AllocateHandle(Isolate* isolate) {
+uword VMHandles::AllocateHandle(Zone* zone) {
return Handles<kVMHandleSizeInWords,
kVMHandlesPerChunk,
- kOffsetOfRawPtr>::AllocateHandle(isolate);
+ kOffsetOfRawPtr>::AllocateHandle(zone);
}
-uword VMHandles::AllocateZoneHandle(Isolate* isolate) {
+uword VMHandles::AllocateZoneHandle(Zone* zone) {
return Handles<kVMHandleSizeInWords,
kVMHandlesPerChunk,
- kOffsetOfRawPtr>::AllocateZoneHandle(isolate);
+ kOffsetOfRawPtr>::AllocateZoneHandle(zone);
}
« no previous file with comments | « runtime/vm/handles.h ('k') | runtime/vm/handles_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698