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

Side by Side Diff: src/isolate.h

Issue 2699843003: [wasm] Embedder can control what buffers wasm compilation works on. (Closed)
Patch Set: static initializers Created 3 years, 10 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/api.cc ('k') | src/runtime/runtime.h » ('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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) 387 ISOLATE_INIT_DEBUG_ARRAY_LIST(V)
388 388
389 typedef List<HeapObject*> DebugObjectCache; 389 typedef List<HeapObject*> DebugObjectCache;
390 390
391 #define ISOLATE_INIT_LIST(V) \ 391 #define ISOLATE_INIT_LIST(V) \
392 /* Assembler state. */ \ 392 /* Assembler state. */ \
393 V(FatalErrorCallback, exception_behavior, nullptr) \ 393 V(FatalErrorCallback, exception_behavior, nullptr) \
394 V(OOMErrorCallback, oom_behavior, nullptr) \ 394 V(OOMErrorCallback, oom_behavior, nullptr) \
395 V(LogEventCallback, event_logger, nullptr) \ 395 V(LogEventCallback, event_logger, nullptr) \
396 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, nullptr) \ 396 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, nullptr) \
397 V(AllowWasmCompileCallback, allow_wasm_compile_callback, nullptr) \
398 V(AllowWasmInstantiateCallback, allow_wasm_instantiate_callback, nullptr) \
397 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \ 399 V(ExternalReferenceRedirectorPointer*, external_reference_redirector, \
398 nullptr) \ 400 nullptr) \
399 /* State for Relocatable. */ \ 401 /* State for Relocatable. */ \
400 V(Relocatable*, relocatable_top, nullptr) \ 402 V(Relocatable*, relocatable_top, nullptr) \
401 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \ 403 V(DebugObjectCache*, string_stream_debug_object_cache, nullptr) \
402 V(Object*, string_stream_current_security_token, nullptr) \ 404 V(Object*, string_stream_current_security_token, nullptr) \
403 V(ExternalReferenceTable*, external_reference_table, nullptr) \ 405 V(ExternalReferenceTable*, external_reference_table, nullptr) \
404 V(intptr_t*, api_external_references, nullptr) \ 406 V(intptr_t*, api_external_references, nullptr) \
405 V(AddressToIndexHashMap*, external_reference_map, nullptr) \ 407 V(AddressToIndexHashMap*, external_reference_map, nullptr) \
406 V(HeapObjectToIndexHashMap*, root_index_map, nullptr) \ 408 V(HeapObjectToIndexHashMap*, root_index_map, nullptr) \
(...skipping 1311 matching lines...) Expand 10 before | Expand all | Expand 10 after
1718 1720
1719 EmbeddedVector<char, 128> filename_; 1721 EmbeddedVector<char, 128> filename_;
1720 FILE* file_; 1722 FILE* file_;
1721 int scope_depth_; 1723 int scope_depth_;
1722 }; 1724 };
1723 1725
1724 } // namespace internal 1726 } // namespace internal
1725 } // namespace v8 1727 } // namespace v8
1726 1728
1727 #endif // V8_ISOLATE_H_ 1729 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698