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

Unified Diff: src/heap.h

Issue 255003002: Make CreateInitialObjects more concise. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comment Created 6 years, 8 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 | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index b6d5adbd732d19df5af424d26fc7d4a66d6e1950..cb50109ca3242d9e1c252ec169a151aa7c97a885 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -739,9 +739,6 @@ class Heap {
bool double_align,
AllocationSpace space);
- // Allocates an empty PolymorphicCodeCache.
- MUST_USE_RESULT MaybeObject* AllocatePolymorphicCodeCache();
-
// Clear the Instanceof cache (used when a prototype changes).
inline void ClearInstanceofCache();
@@ -1281,7 +1278,7 @@ class Heap {
// Support for the API.
//
- bool CreateApiObjects();
+ void CreateApiObjects();
// Adjusts the amount of registered external memory.
// Returns the adjusted value.
@@ -1961,7 +1958,7 @@ class Heap {
AllocationSite* allocation_site);
bool CreateInitialMaps();
- bool CreateInitialObjects();
+ void CreateInitialObjects();
// These five Create*EntryStub functions are here and forced to not be inlined
// because of a gcc-4.4 bug that assigns wrong vtable entries.
@@ -2045,16 +2042,11 @@ class Heap {
GCTracer* tracer_;
- // Allocates a small number to string cache.
- MUST_USE_RESULT MaybeObject* AllocateInitialNumberStringCache();
// Creates and installs the full-sized number string cache.
int FullSizeNumberStringCacheLength();
// Flush the number to string cache.
void FlushNumberStringCache();
- // Allocates a fixed-size allocation sites scratchpad.
- MUST_USE_RESULT MaybeObject* AllocateAllocationSitesScratchpad();
-
// Sets used allocation sites entries to undefined.
void FlushAllocationSitesScratchpad();
« no previous file with comments | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698