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

Side by Side Diff: src/log.h

Issue 200363002: Handlify callers of Object::GetElement. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/liveedit.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 Isolate* isolate_; 342 Isolate* isolate_;
343 const char* name_; 343 const char* name_;
344 }; 344 };
345 345
346 // ==== Events logged by --log-regexp ==== 346 // ==== Events logged by --log-regexp ====
347 // Regexp compilation and execution events. 347 // Regexp compilation and execution events.
348 348
349 void RegExpCompileEvent(Handle<JSRegExp> regexp, bool in_cache); 349 void RegExpCompileEvent(Handle<JSRegExp> regexp, bool in_cache);
350 350
351 // Log an event reported from generated code 351 // Log an event reported from generated code
352 void LogRuntime(Vector<const char> format, JSArray* args); 352 void LogRuntime(Vector<const char> format, Handle<JSArray> args);
353 353
354 bool is_logging() { 354 bool is_logging() {
355 return is_logging_; 355 return is_logging_;
356 } 356 }
357 357
358 bool is_logging_code_events() { 358 bool is_logging_code_events() {
359 return is_logging() || jit_logger_ != NULL; 359 return is_logging() || jit_logger_ != NULL;
360 } 360 }
361 361
362 // Stop collection of profiling data. 362 // Stop collection of profiling data.
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 int length) = 0; 540 int length) = 0;
541 541
542 NameBuffer* name_buffer_; 542 NameBuffer* name_buffer_;
543 }; 543 };
544 544
545 545
546 } } // namespace v8::internal 546 } } // namespace v8::internal
547 547
548 548
549 #endif // V8_LOG_H_ 549 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « src/liveedit.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698