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) | |
648 | 646 |
649 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 647 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
650 F(LoadLookupSlotForCall, 1, 2) | 648 F(LoadLookupSlotForCall, 1, 2) |
651 | 649 |
652 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 650 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
653 F(ForInPrepare, 1, 3) | 651 F(ForInPrepare, 1, 3) |
654 | 652 |
655 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 653 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
656 // implemented in ic.cc for now. | 654 // implemented in ic.cc for now. |
657 #define FOR_EACH_INTRINSIC_IC(F) \ | 655 #define FOR_EACH_INTRINSIC_IC(F) \ |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 kMaybeDeopted = 1 << 3, | 858 kMaybeDeopted = 1 << 3, |
861 kOptimized = 1 << 4, | 859 kOptimized = 1 << 4, |
862 kTurboFanned = 1 << 5, | 860 kTurboFanned = 1 << 5, |
863 kInterpreted = 1 << 6, | 861 kInterpreted = 1 << 6, |
864 }; | 862 }; |
865 | 863 |
866 } // namespace internal | 864 } // namespace internal |
867 } // namespace v8 | 865 } // namespace v8 |
868 | 866 |
869 #endif // V8_RUNTIME_RUNTIME_H_ | 867 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |