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

Side by Side Diff: src/log.h

Issue 265283007: Remove broken %_Log functionality. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Some missing flag uses. Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/macro-assembler-ia32.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 "allocation.h" 8 #include "allocation.h"
9 #include "objects.h" 9 #include "objects.h"
10 #include "platform.h" 10 #include "platform.h"
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 private: 319 private:
320 Isolate* isolate_; 320 Isolate* isolate_;
321 const char* name_; 321 const char* name_;
322 }; 322 };
323 323
324 // ==== Events logged by --log-regexp ==== 324 // ==== Events logged by --log-regexp ====
325 // Regexp compilation and execution events. 325 // Regexp compilation and execution events.
326 326
327 void RegExpCompileEvent(Handle<JSRegExp> regexp, bool in_cache); 327 void RegExpCompileEvent(Handle<JSRegExp> regexp, bool in_cache);
328 328
329 // Log an event reported from generated code
330 void LogRuntime(Vector<const char> format, Handle<JSArray> args);
331
332 bool is_logging() { 329 bool is_logging() {
333 return is_logging_; 330 return is_logging_;
334 } 331 }
335 332
336 bool is_logging_code_events() { 333 bool is_logging_code_events() {
337 return is_logging() || jit_logger_ != NULL; 334 return is_logging() || jit_logger_ != NULL;
338 } 335 }
339 336
340 // Stop collection of profiling data. 337 // Stop collection of profiling data.
341 // When data collection is paused, CPU Tick events are discarded. 338 // When data collection is paused, CPU Tick events are discarded.
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 int length) = 0; 515 int length) = 0;
519 516
520 NameBuffer* name_buffer_; 517 NameBuffer* name_buffer_;
521 }; 518 };
522 519
523 520
524 } } // namespace v8::internal 521 } } // namespace v8::internal
525 522
526 523
527 #endif // V8_LOG_H_ 524 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698