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_PROFILER_CPU_PROFILER_H_ | 5 #ifndef V8_PROFILER_CPU_PROFILER_H_ |
6 #define V8_PROFILER_CPU_PROFILER_H_ | 6 #define V8_PROFILER_CPU_PROFILER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 const char* bailout_reason; | 76 const char* bailout_reason; |
77 | 77 |
78 INLINE(void UpdateCodeMap(CodeMap* code_map)); | 78 INLINE(void UpdateCodeMap(CodeMap* code_map)); |
79 }; | 79 }; |
80 | 80 |
81 | 81 |
82 class CodeDeoptEventRecord : public CodeEventRecord { | 82 class CodeDeoptEventRecord : public CodeEventRecord { |
83 public: | 83 public: |
84 Address start; | 84 Address start; |
85 const char* deopt_reason; | 85 const char* deopt_reason; |
| 86 SourcePosition position; |
86 int deopt_id; | 87 int deopt_id; |
87 void* pc; | 88 void* pc; |
88 int fp_to_sp_delta; | 89 int fp_to_sp_delta; |
89 | 90 |
90 INLINE(void UpdateCodeMap(CodeMap* code_map)); | 91 INLINE(void UpdateCodeMap(CodeMap* code_map)); |
91 }; | 92 }; |
92 | 93 |
93 | 94 |
94 class ReportBuiltinEventRecord : public CodeEventRecord { | 95 class ReportBuiltinEventRecord : public CodeEventRecord { |
95 public: | 96 public: |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 bool is_profiling_; | 231 bool is_profiling_; |
231 | 232 |
232 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); | 233 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); |
233 }; | 234 }; |
234 | 235 |
235 } // namespace internal | 236 } // namespace internal |
236 } // namespace v8 | 237 } // namespace v8 |
237 | 238 |
238 | 239 |
239 #endif // V8_PROFILER_CPU_PROFILER_H_ | 240 #endif // V8_PROFILER_CPU_PROFILER_H_ |
OLD | NEW |