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

Unified Diff: src/heap.cc

Issue 247263003: Hide heap methods where possible. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments 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/heap.h ('k') | test/cctest/cctest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index 0c1cc570cadc66810ec121efb7f29b0f63700c9b..af1759ba65fb68c9ee16c3bde75f087f14950eb2 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -4336,15 +4336,6 @@ MaybeObject* Heap::AllocateSymbol() {
}
-MaybeObject* Heap::AllocatePrivateSymbol() {
- MaybeObject* maybe = AllocateSymbol();
- Symbol* symbol;
- if (!maybe->To(&symbol)) return maybe;
- symbol->set_is_private(true);
- return symbol;
-}
-
-
MaybeObject* Heap::AllocateStruct(InstanceType type) {
Map* map;
switch (type) {
« no previous file with comments | « src/heap.h ('k') | test/cctest/cctest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698