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(WasmCompileLazy, 0, 1) |
643 | 644 |
644 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 645 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
645 F(LoadLookupSlotForCall, 1, 2) | 646 F(LoadLookupSlotForCall, 1, 2) |
646 | 647 |
647 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 648 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
648 F(ForInPrepare, 1, 3) | 649 F(ForInPrepare, 1, 3) |
649 | 650 |
650 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 651 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
651 // implemented in ic.cc for now. | 652 // implemented in ic.cc for now. |
652 #define FOR_EACH_INTRINSIC_IC(F) \ | 653 #define FOR_EACH_INTRINSIC_IC(F) \ |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 kMaybeDeopted = 1 << 3, | 854 kMaybeDeopted = 1 << 3, |
854 kOptimized = 1 << 4, | 855 kOptimized = 1 << 4, |
855 kTurboFanned = 1 << 5, | 856 kTurboFanned = 1 << 5, |
856 kInterpreted = 1 << 6, | 857 kInterpreted = 1 << 6, |
857 }; | 858 }; |
858 | 859 |
859 } // namespace internal | 860 } // namespace internal |
860 } // namespace v8 | 861 } // namespace v8 |
861 | 862 |
862 #endif // V8_RUNTIME_RUNTIME_H_ | 863 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |