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 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 | 632 |
633 #define FOR_EACH_INTRINSIC_WASM(F) \ | 633 #define FOR_EACH_INTRINSIC_WASM(F) \ |
634 F(WasmGrowMemory, 1, 1) \ | 634 F(WasmGrowMemory, 1, 1) \ |
635 F(WasmMemorySize, 0, 1) \ | 635 F(WasmMemorySize, 0, 1) \ |
636 F(ThrowWasmError, 2, 1) \ | 636 F(ThrowWasmError, 2, 1) \ |
637 F(ThrowWasmErrorFromTrapIf, 1, 1) \ | 637 F(ThrowWasmErrorFromTrapIf, 1, 1) \ |
638 F(WasmThrowTypeError, 0, 1) \ | 638 F(WasmThrowTypeError, 0, 1) \ |
639 F(WasmThrow, 2, 1) \ | 639 F(WasmThrow, 2, 1) \ |
640 F(WasmGetCaughtExceptionValue, 1, 1) \ | 640 F(WasmGetCaughtExceptionValue, 1, 1) \ |
641 F(WasmRunInterpreter, 3, 1) \ | 641 F(WasmRunInterpreter, 3, 1) \ |
642 F(WasmStackGuard, 0, 1) \ | 642 F(WasmStackGuard, 0, 1) |
643 F(SetThreadInWasm, 0, 1) \ | |
644 F(ClearThreadInWasm, 0, 1) | |
645 | 643 |
646 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 644 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
647 F(LoadLookupSlotForCall, 1, 2) | 645 F(LoadLookupSlotForCall, 1, 2) |
648 | 646 |
649 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 647 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
650 F(ForInPrepare, 1, 3) | 648 F(ForInPrepare, 1, 3) |
651 | 649 |
652 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 650 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
653 // implemented in ic.cc for now. | 651 // implemented in ic.cc for now. |
654 #define FOR_EACH_INTRINSIC_IC(F) \ | 652 #define FOR_EACH_INTRINSIC_IC(F) \ |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 kMaybeDeopted = 1 << 3, | 853 kMaybeDeopted = 1 << 3, |
856 kOptimized = 1 << 4, | 854 kOptimized = 1 << 4, |
857 kTurboFanned = 1 << 5, | 855 kTurboFanned = 1 << 5, |
858 kInterpreted = 1 << 6, | 856 kInterpreted = 1 << 6, |
859 }; | 857 }; |
860 | 858 |
861 } // namespace internal | 859 } // namespace internal |
862 } // namespace v8 | 860 } // namespace v8 |
863 | 861 |
864 #endif // V8_RUNTIME_RUNTIME_H_ | 862 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |