| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_CRANKSHAFT_COMPILATION_PHASE_H_ | 5 #ifndef V8_CRANKSHAFT_COMPILATION_PHASE_H_ |
| 6 #define V8_CRANKSHAFT_COMPILATION_PHASE_H_ | 6 #define V8_CRANKSHAFT_COMPILATION_PHASE_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/compiler.h" | 9 #include "src/base/platform/elapsed-timer.h" |
| 10 #include "src/compilation-info.h" |
| 10 #include "src/zone.h" | 11 #include "src/zone.h" |
| 11 | 12 |
| 12 namespace v8 { | 13 namespace v8 { |
| 13 namespace internal { | 14 namespace internal { |
| 14 | 15 |
| 15 class CompilationPhase BASE_EMBEDDED { | 16 class CompilationPhase BASE_EMBEDDED { |
| 16 public: | 17 public: |
| 17 CompilationPhase(const char* name, CompilationInfo* info); | 18 CompilationPhase(const char* name, CompilationInfo* info); |
| 18 ~CompilationPhase(); | 19 ~CompilationPhase(); |
| 19 | 20 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 32 size_t info_zone_start_allocation_size_; | 33 size_t info_zone_start_allocation_size_; |
| 33 base::ElapsedTimer timer_; | 34 base::ElapsedTimer timer_; |
| 34 | 35 |
| 35 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); | 36 DISALLOW_COPY_AND_ASSIGN(CompilationPhase); |
| 36 }; | 37 }; |
| 37 | 38 |
| 38 } // namespace internal | 39 } // namespace internal |
| 39 } // namespace v8 | 40 } // namespace v8 |
| 40 | 41 |
| 41 #endif // V8_CRANKSHAFT_COMPILATION_PHASE_H_ | 42 #endif // V8_CRANKSHAFT_COMPILATION_PHASE_H_ |
| OLD | NEW |