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

Side by Side Diff: src/isolate.h

Issue 2452333002: [serializer] introduce API to serialize internal fields (Closed)
Patch Set: Created 4 years, 1 month 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
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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \ 395 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \
396 nullptr) \ 396 nullptr) \
397 /* State for Relocatable. */ \ 397 /* State for Relocatable. */ \
398 V(Relocatable*, relocatable_top, nullptr) \ 398 V(Relocatable*, relocatable_top, nullptr) \
399 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \ 399 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \
400 V(Object*, string_stream_current_security_token, nullptr) \ 400 V(Object*, string_stream_current_security_token, nullptr) \
401 V(ExternalReferenceTable*, external_reference_table, nullptr) \ 401 V(ExternalReferenceTable*, external_reference_table, nullptr) \
402 V(intptr_t*, api_external_references, nullptr) \ 402 V(intptr_t*, api_external_references, nullptr) \
403 V(base::HashMap*, external_reference_map, nullptr) \ 403 V(base::HashMap*, external_reference_map, nullptr) \
404 V(base::HashMap*, root_index_map, nullptr) \ 404 V(base::HashMap*, root_index_map, nullptr) \
405 V(v8::DeserializeInternalFieldsCallback, \
406 deserialize_internal_fields_callback, nullptr) \
405 V(int, pending_microtask_count, 0) \ 407 V(int, pending_microtask_count, 0) \
406 V(int, debug_microtask_count, 0) \ 408 V(int, debug_microtask_count, 0) \
407 V(HStatistics*, hstatistics, nullptr) \ 409 V(HStatistics*, hstatistics, nullptr) \
408 V(CompilationStatistics*, turbo_statistics, nullptr) \ 410 V(CompilationStatistics*, turbo_statistics, nullptr) \
409 V(HTracer*, htracer, nullptr) \ 411 V(HTracer*, htracer, nullptr) \
410 V(CodeTracer*, code_tracer, nullptr) \ 412 V(CodeTracer*, code_tracer, nullptr) \
411 V(bool, fp_stubs_generated, false) \ 413 V(bool, fp_stubs_generated, false) \
412 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ 414 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \
413 V(PromiseRejectCallback, promise_reject_callback, nullptr) \ 415 V(PromiseRejectCallback, promise_reject_callback, nullptr) \
414 V(const v8::StartupData*, snapshot_blob, nullptr) \ 416 V(const v8::StartupData*, snapshot_blob, nullptr) \
(...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 1680
1679 EmbeddedVector<char, 128> filename_; 1681 EmbeddedVector<char, 128> filename_;
1680 FILE* file_; 1682 FILE* file_;
1681 int scope_depth_; 1683 int scope_depth_;
1682 }; 1684 };
1683 1685
1684 } // namespace internal 1686 } // namespace internal
1685 } // namespace v8 1687 } // namespace v8
1686 1688
1687 #endif // V8_ISOLATE_H_ 1689 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698