Chromium Code Reviews| Index: src/heap.cc |
| diff --git a/src/heap.cc b/src/heap.cc |
| index 7c9a7fd63262f5168bb33482c456e6cf0bf3f6e7..ebf9c08b9f8da6623a9b0b846f369ce8201b41ce 100644 |
| --- a/src/heap.cc |
| +++ b/src/heap.cc |
| @@ -5428,10 +5428,10 @@ MaybeObject* Heap::AllocateHashTable(int length, PretenureFlag pretenure) { |
| } |
| -MaybeObject* Heap::AllocateSymbol(PretenureFlag pretenure) { |
| +MaybeObject* Heap::AllocateSymbol() { |
| // Statically ensure that it is safe to allocate symbols in paged spaces. |
| STATIC_ASSERT(Symbol::kSize <= Page::kNonCodeObjectAreaSize); |
| - AllocationSpace space = pretenure == TENURED ? OLD_POINTER_SPACE : NEW_SPACE; |
| + AllocationSpace space = OLD_POINTER_SPACE; |
|
rossberg
2013/03/28 13:33:17
Nit: just inline this now trivial definition.
|
| Object* result; |
| MaybeObject* maybe = AllocateRaw(Symbol::kSize, space, OLD_POINTER_SPACE); |