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

Side by Side Diff: src/isolate.h

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback, rebase and "git cl format" Created 6 years, 4 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/lithium-ia32.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 // 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_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ 356 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \
357 V(Object*, string_stream_current_security_token, NULL) \ 357 V(Object*, string_stream_current_security_token, NULL) \
358 /* Serializer state. */ \ 358 /* Serializer state. */ \
359 V(ExternalReferenceTable*, external_reference_table, NULL) \ 359 V(ExternalReferenceTable*, external_reference_table, NULL) \
360 /* AstNode state. */ \ 360 /* AstNode state. */ \
361 V(int, ast_node_id, 0) \ 361 V(int, ast_node_id, 0) \
362 V(unsigned, ast_node_count, 0) \ 362 V(unsigned, ast_node_count, 0) \
363 V(int, pending_microtask_count, 0) \ 363 V(int, pending_microtask_count, 0) \
364 V(bool, autorun_microtasks, true) \ 364 V(bool, autorun_microtasks, true) \
365 V(HStatistics*, hstatistics, NULL) \ 365 V(HStatistics*, hstatistics, NULL) \
366 V(HStatistics*, tstatistics, NULL) \
366 V(HTracer*, htracer, NULL) \ 367 V(HTracer*, htracer, NULL) \
367 V(CodeTracer*, code_tracer, NULL) \ 368 V(CodeTracer*, code_tracer, NULL) \
368 V(bool, fp_stubs_generated, false) \ 369 V(bool, fp_stubs_generated, false) \
369 V(int, max_available_threads, 0) \ 370 V(int, max_available_threads, 0) \
370 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ 371 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \
371 V(InterruptCallback, api_interrupt_callback, NULL) \ 372 V(InterruptCallback, api_interrupt_callback, NULL) \
372 V(void*, api_interrupt_callback_data, NULL) \ 373 V(void*, api_interrupt_callback_data, NULL) \
373 ISOLATE_INIT_SIMULATOR_LIST(V) 374 ISOLATE_INIT_SIMULATOR_LIST(V)
374 375
375 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ 376 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 return num_sweeper_threads_; 1061 return num_sweeper_threads_;
1061 } 1062 }
1062 1063
1063 SweeperThread** sweeper_threads() { 1064 SweeperThread** sweeper_threads() {
1064 return sweeper_thread_; 1065 return sweeper_thread_;
1065 } 1066 }
1066 1067
1067 int id() const { return static_cast<int>(id_); } 1068 int id() const { return static_cast<int>(id_); }
1068 1069
1069 HStatistics* GetHStatistics(); 1070 HStatistics* GetHStatistics();
1071 HStatistics* GetTStatistics();
1070 HTracer* GetHTracer(); 1072 HTracer* GetHTracer();
1071 CodeTracer* GetCodeTracer(); 1073 CodeTracer* GetCodeTracer();
1072 1074
1073 FunctionEntryHook function_entry_hook() { return function_entry_hook_; } 1075 FunctionEntryHook function_entry_hook() { return function_entry_hook_; }
1074 void set_function_entry_hook(FunctionEntryHook function_entry_hook) { 1076 void set_function_entry_hook(FunctionEntryHook function_entry_hook) {
1075 function_entry_hook_ = function_entry_hook; 1077 function_entry_hook_ = function_entry_hook;
1076 } 1078 }
1077 1079
1078 void* stress_deopt_count_address() { return &stress_deopt_count_; } 1080 void* stress_deopt_count_address() { return &stress_deopt_count_; }
1079 1081
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1531 } 1533 }
1532 1534
1533 EmbeddedVector<char, 128> filename_; 1535 EmbeddedVector<char, 128> filename_;
1534 FILE* file_; 1536 FILE* file_;
1535 int scope_depth_; 1537 int scope_depth_;
1536 }; 1538 };
1537 1539
1538 } } // namespace v8::internal 1540 } } // namespace v8::internal
1539 1541
1540 #endif // V8_ISOLATE_H_ 1542 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698