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

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

Issue 984773003: CpuProfiler: fix for GetDeoptReason code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 5 years, 9 months 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 | « no previous file | src/cpu-profiler.cc » ('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_CPU_PROFILER_H_ 5 #ifndef V8_CPU_PROFILER_H_
6 #define V8_CPU_PROFILER_H_ 6 #define V8_CPU_PROFILER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/atomicops.h" 9 #include "src/base/atomicops.h"
10 #include "src/base/platform/time.h" 10 #include "src/base/platform/time.h"
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 CompilationInfo* info, Name* script_name); 228 CompilationInfo* info, Name* script_name);
229 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, Code* code, 229 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, Code* code,
230 SharedFunctionInfo* shared, 230 SharedFunctionInfo* shared,
231 CompilationInfo* info, Name* script_name, 231 CompilationInfo* info, Name* script_name,
232 int line, int column); 232 int line, int column);
233 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, 233 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag,
234 Code* code, int args_count); 234 Code* code, int args_count);
235 virtual void CodeMovingGCEvent() {} 235 virtual void CodeMovingGCEvent() {}
236 virtual void CodeMoveEvent(Address from, Address to); 236 virtual void CodeMoveEvent(Address from, Address to);
237 virtual void CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared); 237 virtual void CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared);
238 virtual void CodeDeoptEvent(Code* code, int bailout_id, Address pc, 238 virtual void CodeDeoptEvent(Code* code, Address pc, int fp_to_sp_delta);
239 int fp_to_sp_delta);
240 virtual void CodeDeleteEvent(Address from); 239 virtual void CodeDeleteEvent(Address from);
241 virtual void GetterCallbackEvent(Name* name, Address entry_point); 240 virtual void GetterCallbackEvent(Name* name, Address entry_point);
242 virtual void RegExpCodeCreateEvent(Code* code, String* source); 241 virtual void RegExpCodeCreateEvent(Code* code, String* source);
243 virtual void SetterCallbackEvent(Name* name, Address entry_point); 242 virtual void SetterCallbackEvent(Name* name, Address entry_point);
244 virtual void SharedFunctionInfoMoveEvent(Address from, Address to) {} 243 virtual void SharedFunctionInfoMoveEvent(Address from, Address to) {}
245 244
246 INLINE(bool is_profiling() const) { return is_profiling_; } 245 INLINE(bool is_profiling() const) { return is_profiling_; }
247 bool* is_profiling_address() { 246 bool* is_profiling_address() {
248 return &is_profiling_; 247 return &is_profiling_;
249 } 248 }
(...skipping 17 matching lines...) Expand all
267 bool saved_is_logging_; 266 bool saved_is_logging_;
268 bool is_profiling_; 267 bool is_profiling_;
269 268
270 DISALLOW_COPY_AND_ASSIGN(CpuProfiler); 269 DISALLOW_COPY_AND_ASSIGN(CpuProfiler);
271 }; 270 };
272 271
273 } } // namespace v8::internal 272 } } // namespace v8::internal
274 273
275 274
276 #endif // V8_CPU_PROFILER_H_ 275 #endif // V8_CPU_PROFILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/cpu-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698