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

Unified Diff: runtime/vm/allocation.cc

Issue 982873004: Thread/Isolate refactoring: new(Isolate) -> new(Zone) (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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/allocation.h ('k') | runtime/vm/code_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/allocation.cc
===================================================================
--- runtime/vm/allocation.cc (revision 44266)
+++ runtime/vm/allocation.cc (working copy)
@@ -24,12 +24,6 @@
}
-void* ZoneAllocated::operator new(uword size, BaseIsolate* isolate) {
- ASSERT(isolate != NULL);
- return Allocate(size, isolate->current_zone());
-}
-
-
void* ZoneAllocated::operator new(uword size, Zone* zone) {
ASSERT(zone == Isolate::Current()->current_zone());
return Allocate(size, zone);
« no previous file with comments | « runtime/vm/allocation.h ('k') | runtime/vm/code_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698