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

Side by Side Diff: src/log.h

Issue 960493003: Remove JITCodeEvent::CODE_REMOVED (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Created 5 years, 10 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 | « src/heap/spaces.cc ('k') | src/log.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_LOG_H_ 5 #ifndef V8_LOG_H_
6 #define V8_LOG_H_ 6 #define V8_LOG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 CompilationInfo* info, 246 CompilationInfo* info,
247 Name* source, int line, int column); 247 Name* source, int line, int column);
248 void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count); 248 void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count);
249 // Emits a code deoptimization event. 249 // Emits a code deoptimization event.
250 void CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared); 250 void CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared);
251 void CodeMovingGCEvent(); 251 void CodeMovingGCEvent();
252 // Emits a code create event for a RegExp. 252 // Emits a code create event for a RegExp.
253 void RegExpCodeCreateEvent(Code* code, String* source); 253 void RegExpCodeCreateEvent(Code* code, String* source);
254 // Emits a code move event. 254 // Emits a code move event.
255 void CodeMoveEvent(Address from, Address to); 255 void CodeMoveEvent(Address from, Address to);
256 // Emits a code delete event.
257 void CodeDeleteEvent(Address from);
258 // Emits a code line info add event with Postion type. 256 // Emits a code line info add event with Postion type.
259 void CodeLinePosInfoAddPositionEvent(void* jit_handler_data, 257 void CodeLinePosInfoAddPositionEvent(void* jit_handler_data,
260 int pc_offset, 258 int pc_offset,
261 int position); 259 int position);
262 // Emits a code line info add event with StatementPostion type. 260 // Emits a code line info add event with StatementPostion type.
263 void CodeLinePosInfoAddStatementPositionEvent(void* jit_handler_data, 261 void CodeLinePosInfoAddStatementPositionEvent(void* jit_handler_data,
264 int pc_offset, 262 int pc_offset,
265 int position); 263 int position);
266 // Emits a code line info start to record event 264 // Emits a code line info start to record event
267 void CodeStartLinePosInfoRecordEvent(PositionsRecorder* pos_recorder); 265 void CodeStartLinePosInfoRecordEvent(PositionsRecorder* pos_recorder);
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 Name* source, 477 Name* source,
480 int line, int column) = 0; 478 int line, int column) = 0;
481 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag, 479 virtual void CodeCreateEvent(Logger::LogEventsAndTags tag,
482 Code* code, 480 Code* code,
483 int args_count) = 0; 481 int args_count) = 0;
484 virtual void CallbackEvent(Name* name, Address entry_point) = 0; 482 virtual void CallbackEvent(Name* name, Address entry_point) = 0;
485 virtual void GetterCallbackEvent(Name* name, Address entry_point) = 0; 483 virtual void GetterCallbackEvent(Name* name, Address entry_point) = 0;
486 virtual void SetterCallbackEvent(Name* name, Address entry_point) = 0; 484 virtual void SetterCallbackEvent(Name* name, Address entry_point) = 0;
487 virtual void RegExpCodeCreateEvent(Code* code, String* source) = 0; 485 virtual void RegExpCodeCreateEvent(Code* code, String* source) = 0;
488 virtual void CodeMoveEvent(Address from, Address to) = 0; 486 virtual void CodeMoveEvent(Address from, Address to) = 0;
489 virtual void CodeDeleteEvent(Address from) = 0;
490 virtual void SharedFunctionInfoMoveEvent(Address from, Address to) = 0; 487 virtual void SharedFunctionInfoMoveEvent(Address from, Address to) = 0;
491 virtual void CodeMovingGCEvent() = 0; 488 virtual void CodeMovingGCEvent() = 0;
492 virtual void CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared) = 0; 489 virtual void CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared) = 0;
493 }; 490 };
494 491
495 492
496 class CodeEventLogger : public CodeEventListener { 493 class CodeEventLogger : public CodeEventListener {
497 public: 494 public:
498 CodeEventLogger(); 495 CodeEventLogger();
499 virtual ~CodeEventLogger(); 496 virtual ~CodeEventLogger();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 int length) = 0; 532 int length) = 0;
536 533
537 NameBuffer* name_buffer_; 534 NameBuffer* name_buffer_;
538 }; 535 };
539 536
540 537
541 } } // namespace v8::internal 538 } } // namespace v8::internal
542 539
543 540
544 #endif // V8_LOG_H_ 541 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « src/heap/spaces.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698