| 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 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 F(WasmThrow, 2, 1) \ | 636 F(WasmThrow, 2, 1) \ |
| 637 F(WasmGetCaughtExceptionValue, 1, 1) \ | 637 F(WasmGetCaughtExceptionValue, 1, 1) \ |
| 638 F(ThrowWasmTrapUnreachable, 0, 1) \ | 638 F(ThrowWasmTrapUnreachable, 0, 1) \ |
| 639 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \ | 639 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \ |
| 640 F(ThrowWasmTrapDivByZero, 0, 1) \ | 640 F(ThrowWasmTrapDivByZero, 0, 1) \ |
| 641 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \ | 641 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \ |
| 642 F(ThrowWasmTrapRemByZero, 0, 1) \ | 642 F(ThrowWasmTrapRemByZero, 0, 1) \ |
| 643 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \ | 643 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \ |
| 644 F(ThrowWasmTrapFuncInvalid, 0, 1) \ | 644 F(ThrowWasmTrapFuncInvalid, 0, 1) \ |
| 645 F(ThrowWasmTrapFuncSigMismatch, 0, 1) \ | 645 F(ThrowWasmTrapFuncSigMismatch, 0, 1) \ |
| 646 F(WasmRunInterpreter, 3, 1) | 646 F(WasmRunInterpreter, 3, 1) \ |
| 647 F(WasmStackGuard, 0, 1) |
| 647 | 648 |
| 648 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 649 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
| 649 F(LoadLookupSlotForCall, 1, 2) | 650 F(LoadLookupSlotForCall, 1, 2) |
| 650 | 651 |
| 651 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 652 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
| 652 F(ForInPrepare, 1, 3) | 653 F(ForInPrepare, 1, 3) |
| 653 | 654 |
| 654 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 655 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
| 655 // implemented in ic.cc for now. | 656 // implemented in ic.cc for now. |
| 656 #define FOR_EACH_INTRINSIC_IC(F) \ | 657 #define FOR_EACH_INTRINSIC_IC(F) \ |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 kMaybeDeopted = 1 << 3, | 858 kMaybeDeopted = 1 << 3, |
| 858 kOptimized = 1 << 4, | 859 kOptimized = 1 << 4, |
| 859 kTurboFanned = 1 << 5, | 860 kTurboFanned = 1 << 5, |
| 860 kInterpreted = 1 << 6, | 861 kInterpreted = 1 << 6, |
| 861 }; | 862 }; |
| 862 | 863 |
| 863 } // namespace internal | 864 } // namespace internal |
| 864 } // namespace v8 | 865 } // namespace v8 |
| 865 | 866 |
| 866 #endif // V8_RUNTIME_RUNTIME_H_ | 867 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |