Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: src/profiler/cpu-profiler.h

Issue 2561773002: Revert of Merged: [cpu-profiler] use new source position information for deoptimization in cpu profiler (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/objects.cc ('k') | src/profiler/cpu-profiler-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/profiler/cpu-profiler-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698