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 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 F(WasmThrow, 2, 1) \ | 637 F(WasmThrow, 2, 1) \ |
638 F(WasmGetCaughtExceptionValue, 1, 1) \ | 638 F(WasmGetCaughtExceptionValue, 1, 1) \ |
639 F(ThrowWasmTrapUnreachable, 0, 1) \ | 639 F(ThrowWasmTrapUnreachable, 0, 1) \ |
640 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \ | 640 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \ |
641 F(ThrowWasmTrapDivByZero, 0, 1) \ | 641 F(ThrowWasmTrapDivByZero, 0, 1) \ |
642 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \ | 642 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \ |
643 F(ThrowWasmTrapRemByZero, 0, 1) \ | 643 F(ThrowWasmTrapRemByZero, 0, 1) \ |
644 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \ | 644 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \ |
645 F(ThrowWasmTrapFuncInvalid, 0, 1) \ | 645 F(ThrowWasmTrapFuncInvalid, 0, 1) \ |
646 F(ThrowWasmTrapFuncSigMismatch, 0, 1) \ | 646 F(ThrowWasmTrapFuncSigMismatch, 0, 1) \ |
647 F(WasmRunInterpreter, 3, 1) | 647 F(WasmRunInterpreter, 3, 1) \ |
| 648 F(SetThreadInWasm, 0, 1) \ |
| 649 F(ClearThreadInWasm, 0, 1) |
648 | 650 |
649 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 651 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
650 F(LoadLookupSlotForCall, 1, 2) | 652 F(LoadLookupSlotForCall, 1, 2) |
651 | 653 |
652 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 654 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
653 F(ForInPrepare, 1, 3) | 655 F(ForInPrepare, 1, 3) |
654 | 656 |
655 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 657 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
656 // implemented in ic.cc for now. | 658 // implemented in ic.cc for now. |
657 #define FOR_EACH_INTRINSIC_IC(F) \ | 659 #define FOR_EACH_INTRINSIC_IC(F) \ |
(...skipping 200 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 |