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

Unified Diff: src/heap.h

Issue 255003002: Make CreateInitialObjects more concise. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
« src/factory.h ('K') | « 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 0bfa9bb20fb33516dbb153478b4d86ef1650e6e2..51dffe02826b942184e84dbe7417e55c6013dbfc 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -762,9 +762,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();
@@ -1304,7 +1301,7 @@ class Heap {
// Support for the API.
//
- bool CreateApiObjects();
+ void CreateApiObjects();
// Adjusts the amount of registered external memory.
// Returns the adjusted value.
@@ -1984,7 +1981,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.
@@ -2075,9 +2072,6 @@ class Heap {
// 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();
« src/factory.h ('K') | « src/factory.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698