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

Side by Side Diff: src/isolate.h

Issue 2637923002: Remove some dead fields from isolate.h (Closed)
Patch Set: Created 3 years, 11 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 | « src/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.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 <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 #define ISOLATE_INIT_DEBUG_ARRAY_LIST(V) 376 #define ISOLATE_INIT_DEBUG_ARRAY_LIST(V)
377 377
378 #endif 378 #endif
379 379
380 #define ISOLATE_INIT_ARRAY_LIST(V) \ 380 #define ISOLATE_INIT_ARRAY_LIST(V) \
381 /* SerializerDeserializer state. */ \ 381 /* SerializerDeserializer state. */ \
382 V(int32_t, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \ 382 V(int32_t, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \
383 V(int, bad_char_shift_table, kUC16AlphabetSize) \ 383 V(int, bad_char_shift_table, kUC16AlphabetSize) \
384 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \ 384 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \
385 V(int, suffix_table, (kBMMaxShift + 1)) \ 385 V(int, suffix_table, (kBMMaxShift + 1)) \
386 V(uint32_t, private_random_seed, 2) \
387 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) 386 ISOLATE_INIT_DEBUG_ARRAY_LIST(V)
388 387
389 typedef List<HeapObject*> DebugObjectCache; 388 typedef List<HeapObject*> DebugObjectCache;
390 389
391 #define ISOLATE_INIT_LIST(V) \ 390 #define ISOLATE_INIT_LIST(V) \
392 /* Assembler state. */ \ 391 /* Assembler state. */ \
393 V(FatalErrorCallback, exception_behavior, nullptr) \ 392 V(FatalErrorCallback, exception_behavior, nullptr) \
394 V(OOMErrorCallback, oom_behavior, nullptr) \ 393 V(OOMErrorCallback, oom_behavior, nullptr) \
395 V(LogEventCallback, event_logger, nullptr) \ 394 V(LogEventCallback, event_logger, nullptr) \
396 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, nullptr) \ 395 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, nullptr) \
397 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \ 396 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \
398 nullptr) \ 397 nullptr) \
399 /* State for Relocatable. */ \ 398 /* State for Relocatable. */ \
400 V(Relocatable*, relocatable_top, nullptr) \ 399 V(Relocatable*, relocatable_top, nullptr) \
401 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \ 400 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \
402 V(Object*, string_stream_current_security_token, nullptr) \ 401 V(Object*, string_stream_current_security_token, nullptr) \
403 V(ExternalReferenceTable*, external_reference_table, nullptr) \ 402 V(ExternalReferenceTable*, external_reference_table, nullptr) \
404 V(intptr_t*, api_external_references, nullptr) \ 403 V(intptr_t*, api_external_references, nullptr) \
405 V(AddressToIndexHashMap*, external_reference_map, nullptr) \ 404 V(AddressToIndexHashMap*, external_reference_map, nullptr) \
406 V(HeapObjectToIndexHashMap*, root_index_map, nullptr) \ 405 V(HeapObjectToIndexHashMap*, root_index_map, nullptr) \
407 V(int, pending_microtask_count, 0) \ 406 V(int, pending_microtask_count, 0) \
408 V(HStatistics*, hstatistics, nullptr) \ 407 V(HStatistics*, hstatistics, nullptr) \
409 V(CompilationStatistics*, turbo_statistics, nullptr) \ 408 V(CompilationStatistics*, turbo_statistics, nullptr) \
410 V(HTracer*, htracer, nullptr) \ 409 V(HTracer*, htracer, nullptr) \
411 V(CodeTracer*, code_tracer, nullptr) \ 410 V(CodeTracer*, code_tracer, nullptr) \
412 V(bool, fp_stubs_generated, false) \
413 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ 411 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \
414 V(PromiseRejectCallback, promise_reject_callback, nullptr) \ 412 V(PromiseRejectCallback, promise_reject_callback, nullptr) \
415 V(const v8::StartupData*, snapshot_blob, nullptr) \ 413 V(const v8::StartupData*, snapshot_blob, nullptr) \
416 V(int, code_and_metadata_size, 0) \ 414 V(int, code_and_metadata_size, 0) \
417 V(int, bytecode_and_metadata_size, 0) \ 415 V(int, bytecode_and_metadata_size, 0) \
418 /* true if being profiled. Causes collection of extra compile info. */ \ 416 /* true if being profiled. Causes collection of extra compile info. */ \
419 V(bool, is_profiling, false) \ 417 V(bool, is_profiling, false) \
420 /* true if a trace is being formatted through Error.prepareStackTrace. */ \ 418 /* true if a trace is being formatted through Error.prepareStackTrace. */ \
421 V(bool, formatting_stack_trace, false) \ 419 V(bool, formatting_stack_trace, false) \
422 /* Perform side effect checks on function call and API callbacks. */ \ 420 /* Perform side effect checks on function call and API callbacks. */ \
(...skipping 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 1693
1696 EmbeddedVector<char, 128> filename_; 1694 EmbeddedVector<char, 128> filename_;
1697 FILE* file_; 1695 FILE* file_;
1698 int scope_depth_; 1696 int scope_depth_;
1699 }; 1697 };
1700 1698
1701 } // namespace internal 1699 } // namespace internal
1702 } // namespace v8 1700 } // namespace v8
1703 1701
1704 #endif // V8_ISOLATE_H_ 1702 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698