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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 | 635 |
636 #define FOR_EACH_INTRINSIC_WASM(F) \ | 636 #define FOR_EACH_INTRINSIC_WASM(F) \ |
637 F(WasmGrowMemory, 1, 1) \ | 637 F(WasmGrowMemory, 1, 1) \ |
638 F(WasmMemorySize, 0, 1) \ | 638 F(WasmMemorySize, 0, 1) \ |
639 F(ThrowWasmError, 2, 1) \ | 639 F(ThrowWasmError, 2, 1) \ |
640 F(ThrowWasmErrorFromTrapIf, 1, 1) \ | 640 F(ThrowWasmErrorFromTrapIf, 1, 1) \ |
641 F(WasmThrowTypeError, 0, 1) \ | 641 F(WasmThrowTypeError, 0, 1) \ |
642 F(WasmThrow, 2, 1) \ | 642 F(WasmThrow, 2, 1) \ |
643 F(WasmGetCaughtExceptionValue, 1, 1) \ | 643 F(WasmGetCaughtExceptionValue, 1, 1) \ |
644 F(WasmRunInterpreter, 3, 1) \ | 644 F(WasmRunInterpreter, 3, 1) \ |
645 F(WasmStackGuard, 0, 1) | 645 F(WasmStackGuard, 0, 1) \ |
| 646 F(SetThreadInWasm, 0, 1) \ |
| 647 F(ClearThreadInWasm, 0, 1) |
646 | 648 |
647 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 649 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
648 F(LoadLookupSlotForCall, 1, 2) | 650 F(LoadLookupSlotForCall, 1, 2) |
649 | 651 |
650 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 652 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
651 F(ForInPrepare, 1, 3) | 653 F(ForInPrepare, 1, 3) |
652 | 654 |
653 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 655 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
654 // implemented in ic.cc for now. | 656 // implemented in ic.cc for now. |
655 #define FOR_EACH_INTRINSIC_IC(F) \ | 657 #define FOR_EACH_INTRINSIC_IC(F) \ |
(...skipping 202 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 |