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

Unified Diff: vm/heap.h

Issue 10409038: Remove the special stub code region as we don't need it anymore. With the new frame layout conventi… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 7 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/gc_marker.cc ('k') | vm/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/heap.h
===================================================================
--- vm/heap.h (revision 7768)
+++ vm/heap.h (working copy)
@@ -29,8 +29,7 @@
enum Space {
kNew,
kOld,
- kDartCode,
- kStubCode,
+ kCode,
};
enum ApiCallbacks {
@@ -41,7 +40,6 @@
// Default allocation sizes in MB for the old gen and code heaps.
static const intptr_t kHeapSizeInMB = 512;
static const intptr_t kCodeHeapSizeInMB = 8;
- static const intptr_t kStubCodeHeapSizeInKB = 256;
~Heap();
@@ -55,10 +53,8 @@
return AllocateNew(size);
case kOld:
return AllocateOld(size);
- case kDartCode:
+ case kCode:
return AllocateCode(code_space_, size);
- case kStubCode:
- return AllocateCode(stub_code_space_, size);
default:
UNREACHABLE();
}
@@ -71,10 +67,8 @@
return new_space_->TryAllocate(size);
case kOld:
return old_space_->TryAllocate(size);
- case kDartCode:
+ case kCode:
return code_space_->TryAllocate(size);
- case kStubCode:
- return stub_code_space_->TryAllocate(size);
default:
UNREACHABLE();
}
« no previous file with comments | « vm/gc_marker.cc ('k') | vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698