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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 F(DisallowCodegenFromStrings, 0, 1) \ | 607 F(DisallowCodegenFromStrings, 0, 1) \ |
608 F(ValidateWasmInstancesChain, 2, 1) \ | 608 F(ValidateWasmInstancesChain, 2, 1) \ |
609 F(ValidateWasmModuleState, 1, 1) \ | 609 F(ValidateWasmModuleState, 1, 1) \ |
610 F(ValidateWasmOrphanedInstance, 1, 1) \ | 610 F(ValidateWasmOrphanedInstance, 1, 1) \ |
611 F(SetWasmCompileControls, 2, 1) \ | 611 F(SetWasmCompileControls, 2, 1) \ |
612 F(SetWasmInstantiateControls, 0, 1) \ | 612 F(SetWasmInstantiateControls, 0, 1) \ |
613 F(Verify, 1, 1) \ | 613 F(Verify, 1, 1) \ |
614 F(WasmNumInterpretedCalls, 1, 1) \ | 614 F(WasmNumInterpretedCalls, 1, 1) \ |
615 F(RedirectToWasmInterpreter, 2, 1) | 615 F(RedirectToWasmInterpreter, 2, 1) |
616 | 616 |
617 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ | 617 #define FOR_EACH_INTRINSIC_TYPEDARRAY(F) \ |
618 F(ArrayBufferGetByteLength, 1, 1) \ | 618 F(ArrayBufferGetByteLength, 1, 1) \ |
619 F(ArrayBufferNeuter, 1, 1) \ | 619 F(ArrayBufferNeuter, 1, 1) \ |
620 F(ArrayBufferViewGetByteLength, 1, 1) \ | 620 F(ArrayBufferViewGetByteLength, 1, 1) \ |
621 F(ArrayBufferViewGetByteOffset, 1, 1) \ | 621 F(ArrayBufferViewGetByteOffset, 1, 1) \ |
622 F(ArrayBufferViewWasNeutered, 1, 1) \ | 622 F(TypedArrayGetLength, 1, 1) \ |
623 F(TypedArrayGetLength, 1, 1) \ | 623 F(TypedArrayGetBuffer, 1, 1) \ |
624 F(TypedArrayGetBuffer, 1, 1) \ | 624 F(TypedArraySetFastCases, 3, 1) \ |
625 F(TypedArraySetFastCases, 3, 1) \ | 625 F(TypedArraySortFast, 1, 1) \ |
626 F(TypedArraySortFast, 1, 1) \ | 626 F(TypedArrayMaxSizeInHeap, 0, 1) \ |
627 F(TypedArrayMaxSizeInHeap, 0, 1) \ | 627 F(IsTypedArray, 1, 1) \ |
628 F(IsTypedArray, 1, 1) \ | 628 F(IsSharedTypedArray, 1, 1) \ |
629 F(IsSharedTypedArray, 1, 1) \ | 629 F(IsSharedIntegerTypedArray, 1, 1) \ |
630 F(IsSharedIntegerTypedArray, 1, 1) \ | |
631 F(IsSharedInteger32TypedArray, 1, 1) | 630 F(IsSharedInteger32TypedArray, 1, 1) |
632 | 631 |
633 #define FOR_EACH_INTRINSIC_WASM(F) \ | 632 #define FOR_EACH_INTRINSIC_WASM(F) \ |
634 F(WasmGrowMemory, 1, 1) \ | 633 F(WasmGrowMemory, 1, 1) \ |
635 F(WasmMemorySize, 0, 1) \ | 634 F(WasmMemorySize, 0, 1) \ |
636 F(ThrowWasmError, 2, 1) \ | 635 F(ThrowWasmError, 2, 1) \ |
637 F(ThrowWasmErrorFromTrapIf, 1, 1) \ | 636 F(ThrowWasmErrorFromTrapIf, 1, 1) \ |
638 F(ThrowWasmStackOverflow, 0, 1) \ | 637 F(ThrowWasmStackOverflow, 0, 1) \ |
639 F(WasmThrowTypeError, 0, 1) \ | 638 F(WasmThrowTypeError, 0, 1) \ |
640 F(WasmThrow, 2, 1) \ | 639 F(WasmThrow, 2, 1) \ |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 kMaybeDeopted = 1 << 3, | 836 kMaybeDeopted = 1 << 3, |
838 kOptimized = 1 << 4, | 837 kOptimized = 1 << 4, |
839 kTurboFanned = 1 << 5, | 838 kTurboFanned = 1 << 5, |
840 kInterpreted = 1 << 6, | 839 kInterpreted = 1 << 6, |
841 }; | 840 }; |
842 | 841 |
843 } // namespace internal | 842 } // namespace internal |
844 } // namespace v8 | 843 } // namespace v8 |
845 | 844 |
846 #endif // V8_RUNTIME_RUNTIME_H_ | 845 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |