| 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_COMPILER_H_ | 5 #ifndef V8_COMPILER_H_ |
| 6 #define V8_COMPILER_H_ | 6 #define V8_COMPILER_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/ast.h" | 9 #include "src/ast.h" |
| 10 #include "src/bailout-reason.h" | 10 #include "src/bailout-reason.h" |
| (...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 | 766 |
| 767 const char* name() const { return name_; } | 767 const char* name() const { return name_; } |
| 768 CompilationInfo* info() const { return info_; } | 768 CompilationInfo* info() const { return info_; } |
| 769 Isolate* isolate() const { return info()->isolate(); } | 769 Isolate* isolate() const { return info()->isolate(); } |
| 770 Zone* zone() { return &zone_; } | 770 Zone* zone() { return &zone_; } |
| 771 | 771 |
| 772 private: | 772 private: |
| 773 const char* name_; | 773 const char* name_; |
| 774 CompilationInfo* info_; | 774 CompilationInfo* info_; |
| 775 Zone zone_; | 775 Zone zone_; |
| 776 unsigned info_zone_start_allocation_size_; | 776 size_t info_zone_start_allocation_size_; |
| 777 base::ElapsedTimer timer_; | 777 base::ElapsedTimer timer_; |
| 778 | 778 |
| 779 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); | 779 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); |
| 780 }; | 780 }; |
| 781 | 781 |
| 782 } } // namespace v8::internal | 782 } } // namespace v8::internal |
| 783 | 783 |
| 784 #endif // V8_COMPILER_H_ | 784 #endif // V8_COMPILER_H_ |
| OLD | NEW |