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

Side by Side Diff: src/runtime/runtime.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/isolate.h ('k') | src/runtime/runtime-test.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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 F(HasFixedUint8ClampedElements, 1, 1) \ 592 F(HasFixedUint8ClampedElements, 1, 1) \
593 F(SpeciesProtector, 0, 1) \ 593 F(SpeciesProtector, 0, 1) \
594 F(SerializeWasmModule, 1, 1) \ 594 F(SerializeWasmModule, 1, 1) \
595 F(DeserializeWasmModule, 2, 1) \ 595 F(DeserializeWasmModule, 2, 1) \
596 F(IsAsmWasmCode, 1, 1) \ 596 F(IsAsmWasmCode, 1, 1) \
597 F(IsWasmCode, 1, 1) \ 597 F(IsWasmCode, 1, 1) \
598 F(DisallowCodegenFromStrings, 0, 1) \ 598 F(DisallowCodegenFromStrings, 0, 1) \
599 F(ValidateWasmInstancesChain, 2, 1) \ 599 F(ValidateWasmInstancesChain, 2, 1) \
600 F(ValidateWasmModuleState, 1, 1) \ 600 F(ValidateWasmModuleState, 1, 1) \
601 F(ValidateWasmOrphanedInstance, 1, 1) \ 601 F(ValidateWasmOrphanedInstance, 1, 1) \
602 F(SetWasmCompileControls, 2, 1) \
603 F(SetWasmInstantiateControls, 0, 1) \
602 F(Verify, 1, 1) 604 F(Verify, 1, 1)
603 605
604 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ 606 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
605 F(ArrayBufferGetByteLength, 1, 1) \ 607 F(ArrayBufferGetByteLength, 1, 1) \
606 F(ArrayBufferSliceImpl, 4, 1) \ 608 F(ArrayBufferSliceImpl, 4, 1) \
607 F(ArrayBufferNeuter, 1, 1) \ 609 F(ArrayBufferNeuter, 1, 1) \
608 F(TypedArrayInitialize, 6, 1) \ 610 F(TypedArrayInitialize, 6, 1) \
609 F(TypedArrayInitializeFromArrayLike, 4, 1) \ 611 F(TypedArrayInitializeFromArrayLike, 4, 1) \
610 F(ArrayBufferViewGetByteLength, 1, 1) \ 612 F(ArrayBufferViewGetByteLength, 1, 1) \
611 F(ArrayBufferViewGetByteOffset, 1, 1) \ 613 F(ArrayBufferViewGetByteOffset, 1, 1) \
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 kMaybeDeopted = 1 << 3, 850 kMaybeDeopted = 1 << 3,
849 kOptimized = 1 << 4, 851 kOptimized = 1 << 4,
850 kTurboFanned = 1 << 5, 852 kTurboFanned = 1 << 5,
851 kInterpreted = 1 << 6, 853 kInterpreted = 1 << 6,
852 }; 854 };
853 855
854 } // namespace internal 856 } // namespace internal
855 } // namespace v8 857 } // namespace v8
856 858
857 #endif // V8_RUNTIME_RUNTIME_H_ 859 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/runtime/runtime-test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698