OLD | NEW |
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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 F(HasFixedUint8ClampedElements, 1, 1) \ | 602 F(HasFixedUint8ClampedElements, 1, 1) \ |
603 F(SpeciesProtector, 0, 1) \ | 603 F(SpeciesProtector, 0, 1) \ |
604 F(SerializeWasmModule, 1, 1) \ | 604 F(SerializeWasmModule, 1, 1) \ |
605 F(DeserializeWasmModule, 2, 1) \ | 605 F(DeserializeWasmModule, 2, 1) \ |
606 F(IsAsmWasmCode, 1, 1) \ | 606 F(IsAsmWasmCode, 1, 1) \ |
607 F(IsWasmCode, 1, 1) \ | 607 F(IsWasmCode, 1, 1) \ |
608 F(DisallowCodegenFromStrings, 0, 1) \ | 608 F(DisallowCodegenFromStrings, 0, 1) \ |
609 F(ValidateWasmInstancesChain, 2, 1) \ | 609 F(ValidateWasmInstancesChain, 2, 1) \ |
610 F(ValidateWasmModuleState, 1, 1) \ | 610 F(ValidateWasmModuleState, 1, 1) \ |
611 F(ValidateWasmOrphanedInstance, 1, 1) \ | 611 F(ValidateWasmOrphanedInstance, 1, 1) \ |
| 612 F(SetWasmCompileControls, 2, 1) \ |
| 613 F(SetWasmInstantiateControls, 0, 1) \ |
612 F(Verify, 1, 1) | 614 F(Verify, 1, 1) |
613 | 615 |
614 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ | 616 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ |
615 F(ArrayBufferGetByteLength, 1, 1) \ | 617 F(ArrayBufferGetByteLength, 1, 1) \ |
616 F(ArrayBufferSliceImpl, 4, 1) \ | 618 F(ArrayBufferSliceImpl, 4, 1) \ |
617 F(ArrayBufferNeuter, 1, 1) \ | 619 F(ArrayBufferNeuter, 1, 1) \ |
618 F(TypedArrayInitialize, 6, 1) \ | 620 F(TypedArrayInitialize, 6, 1) \ |
619 F(TypedArrayInitializeFromArrayLike, 4, 1) \ | 621 F(TypedArrayInitializeFromArrayLike, 4, 1) \ |
620 F(ArrayBufferViewGetByteLength, 1, 1) \ | 622 F(ArrayBufferViewGetByteLength, 1, 1) \ |
621 F(ArrayBufferViewGetByteOffset, 1, 1) \ | 623 F(ArrayBufferViewGetByteOffset, 1, 1) \ |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 kMaybeDeopted = 1 << 3, | 860 kMaybeDeopted = 1 << 3, |
859 kOptimized = 1 << 4, | 861 kOptimized = 1 << 4, |
860 kTurboFanned = 1 << 5, | 862 kTurboFanned = 1 << 5, |
861 kInterpreted = 1 << 6, | 863 kInterpreted = 1 << 6, |
862 }; | 864 }; |
863 | 865 |
864 } // namespace internal | 866 } // namespace internal |
865 } // namespace v8 | 867 } // namespace v8 |
866 | 868 |
867 #endif // V8_RUNTIME_RUNTIME_H_ | 869 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |