OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_LITHIUM_ALLOCATOR_H_ | 5 #ifndef V8_LITHIUM_ALLOCATOR_H_ |
6 #define V8_LITHIUM_ALLOCATOR_H_ | 6 #define V8_LITHIUM_ALLOCATOR_H_ |
7 | 7 |
8 #include "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 }; | 557 }; |
558 | 558 |
559 | 559 |
560 class LAllocatorPhase : public CompilationPhase { | 560 class LAllocatorPhase : public CompilationPhase { |
561 public: | 561 public: |
562 LAllocatorPhase(const char* name, LAllocator* allocator); | 562 LAllocatorPhase(const char* name, LAllocator* allocator); |
563 ~LAllocatorPhase(); | 563 ~LAllocatorPhase(); |
564 | 564 |
565 private: | 565 private: |
566 LAllocator* allocator_; | 566 LAllocator* allocator_; |
567 unsigned allocator_zone_start_allocation_size_; | 567 size_t allocator_zone_start_allocation_size_; |
568 | 568 |
569 DISALLOW_COPY_AND_ASSIGN(LAllocatorPhase); | 569 DISALLOW_COPY_AND_ASSIGN(LAllocatorPhase); |
570 }; | 570 }; |
571 | 571 |
572 | 572 |
573 } } // namespace v8::internal | 573 } } // namespace v8::internal |
574 | 574 |
575 #endif // V8_LITHIUM_ALLOCATOR_H_ | 575 #endif // V8_LITHIUM_ALLOCATOR_H_ |
OLD | NEW |