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

Side by Side Diff: src/log.h

Issue 1207433002: Assertion failure when using --log-regexp (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 5 years, 5 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/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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 void ProfilerBeginEvent(); 347 void ProfilerBeginEvent();
348 348
349 // Emits callback event messages. 349 // Emits callback event messages.
350 void CallbackEventInternal(const char* prefix, 350 void CallbackEventInternal(const char* prefix,
351 Name* name, 351 Name* name,
352 Address entry_point); 352 Address entry_point);
353 353
354 // Internal configurable move event. 354 // Internal configurable move event.
355 void MoveEventInternal(LogEventsAndTags event, Address from, Address to); 355 void MoveEventInternal(LogEventsAndTags event, Address from, Address to);
356 356
357 // Emits the source code of a regexp. Used by regexp events.
358 void LogRegExpSource(Handle<JSRegExp> regexp);
359
360 // Used for logging stubs found in the snapshot. 357 // Used for logging stubs found in the snapshot.
361 void LogCodeObject(Object* code_object); 358 void LogCodeObject(Object* code_object);
362 359
363 // Helper method. It resets name_buffer_ and add tag name into it. 360 // Helper method. It resets name_buffer_ and add tag name into it.
364 void InitNameBuffer(LogEventsAndTags tag); 361 void InitNameBuffer(LogEventsAndTags tag);
365 362
366 // Emits a profiler tick event. Used by the profiler thread. 363 // Emits a profiler tick event. Used by the profiler thread.
367 void TickEvent(TickSample* sample, bool overflow); 364 void TickEvent(TickSample* sample, bool overflow);
368 365
369 void ApiEvent(const char* name, ...); 366 void ApiEvent(const char* name, ...);
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 int length) = 0; 523 int length) = 0;
527 524
528 NameBuffer* name_buffer_; 525 NameBuffer* name_buffer_;
529 }; 526 };
530 527
531 528
532 } } // namespace v8::internal 529 } } // namespace v8::internal
533 530
534 531
535 #endif // V8_LOG_H_ 532 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « no previous file | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698