Chromium Code Reviews| Index: src/heap/heap.h |
| diff --git a/src/heap/heap.h b/src/heap/heap.h |
| index 956b8595c3e93246fd247767a8b3327de04ccfd3..bfc5b10c044a9c63cd482d1ddefcf9db2e99c5e8 100644 |
| --- a/src/heap/heap.h |
| +++ b/src/heap/heap.h |
| @@ -1662,6 +1662,9 @@ class Heap { |
| MUST_USE_RESULT inline AllocationResult AllocateRaw( |
| int size_in_bytes, AllocationSpace space, AllocationSpace retry_space); |
| + inline HeapObject* ForceAllocateLargeObject(int size_in_bytes, |
| + Executability executable); |
|
Hannes Payer (out of office)
2014/09/22 18:21:52
I don't like that method? Why can't you use Alloca
|
| + |
| // Allocates a heap object based on the map. |
| MUST_USE_RESULT AllocationResult |
| Allocate(Map* map, AllocationSpace space, |
| @@ -2021,6 +2024,7 @@ class Heap { |
| int gc_callbacks_depth_; |
| friend class AlwaysAllocateScope; |
| + friend class Deserializer; |
| friend class Factory; |
| friend class GCCallbacksScope; |
| friend class GCTracer; |