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

Side by Side Diff: src/isolate.h

Issue 186163002: Add support for allowing an embedder to get the V8 profile timer event logs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove check for an existing event_logger, as at this point, none might have already been set 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/counters.cc ('k') | src/isolate.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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 333
334 #define ISOLATE_INIT_LIST(V) \ 334 #define ISOLATE_INIT_LIST(V) \
335 /* SerializerDeserializer state. */ \ 335 /* SerializerDeserializer state. */ \
336 V(int, serialize_partial_snapshot_cache_length, 0) \ 336 V(int, serialize_partial_snapshot_cache_length, 0) \
337 V(int, serialize_partial_snapshot_cache_capacity, 0) \ 337 V(int, serialize_partial_snapshot_cache_capacity, 0) \
338 V(Object**, serialize_partial_snapshot_cache, NULL) \ 338 V(Object**, serialize_partial_snapshot_cache, NULL) \
339 /* Assembler state. */ \ 339 /* Assembler state. */ \
340 /* A previously allocated buffer of kMinimalBufferSize bytes, or NULL. */ \ 340 /* A previously allocated buffer of kMinimalBufferSize bytes, or NULL. */ \
341 V(byte*, assembler_spare_buffer, NULL) \ 341 V(byte*, assembler_spare_buffer, NULL) \
342 V(FatalErrorCallback, exception_behavior, NULL) \ 342 V(FatalErrorCallback, exception_behavior, NULL) \
343 V(LogEventCallback, event_logger, NULL) \
343 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, NULL) \ 344 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, NULL) \
344 /* To distinguish the function templates, so that we can find them in the */ \ 345 /* To distinguish the function templates, so that we can find them in the */ \
345 /* function cache of the native context. */ \ 346 /* function cache of the native context. */ \
346 V(int, next_serial_number, 0) \ 347 V(int, next_serial_number, 0) \
347 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, NULL) \ 348 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, NULL) \
348 V(bool, always_allow_natives_syntax, false) \ 349 V(bool, always_allow_natives_syntax, false) \
349 /* Part of the state of liveedit. */ \ 350 /* Part of the state of liveedit. */ \
350 V(FunctionInfoListener*, active_function_info_listener, NULL) \ 351 V(FunctionInfoListener*, active_function_info_listener, NULL) \
351 /* State for Relocatable. */ \ 352 /* State for Relocatable. */ \
352 V(Relocatable*, relocatable_top, NULL) \ 353 V(Relocatable*, relocatable_top, NULL) \
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 } 1556 }
1556 1557
1557 EmbeddedVector<char, 128> filename_; 1558 EmbeddedVector<char, 128> filename_;
1558 FILE* file_; 1559 FILE* file_;
1559 int scope_depth_; 1560 int scope_depth_;
1560 }; 1561 };
1561 1562
1562 } } // namespace v8::internal 1563 } } // namespace v8::internal
1563 1564
1564 #endif // V8_ISOLATE_H_ 1565 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/counters.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698