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 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 F(WasmThrow, 2, 1) \ | 941 F(WasmThrow, 2, 1) \ |
942 F(WasmGetCaughtExceptionValue, 1, 1) \ | 942 F(WasmGetCaughtExceptionValue, 1, 1) \ |
943 F(ThrowWasmTrapUnreachable, 0, 1) \ | 943 F(ThrowWasmTrapUnreachable, 0, 1) \ |
944 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \ | 944 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \ |
945 F(ThrowWasmTrapDivByZero, 0, 1) \ | 945 F(ThrowWasmTrapDivByZero, 0, 1) \ |
946 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \ | 946 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \ |
947 F(ThrowWasmTrapRemByZero, 0, 1) \ | 947 F(ThrowWasmTrapRemByZero, 0, 1) \ |
948 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \ | 948 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \ |
949 F(ThrowWasmTrapFuncInvalid, 0, 1) \ | 949 F(ThrowWasmTrapFuncInvalid, 0, 1) \ |
950 F(ThrowWasmTrapFuncSigMismatch, 0, 1) \ | 950 F(ThrowWasmTrapFuncSigMismatch, 0, 1) \ |
951 F(WasmRunInterpreter, 3, 1) | 951 F(WasmRunInterpreter, 3, 1) \ |
| 952 F(SetThreadInWasm, 0, 1) \ |
| 953 F(ClearThreadInWasm, 0, 1) |
952 | 954 |
953 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 955 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
954 F(LoadLookupSlotForCall, 1, 2) | 956 F(LoadLookupSlotForCall, 1, 2) |
955 | 957 |
956 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 958 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
957 F(ForInPrepare, 1, 3) | 959 F(ForInPrepare, 1, 3) |
958 | 960 |
959 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 961 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
960 // implemented in ic.cc for now. | 962 // implemented in ic.cc for now. |
961 #define FOR_EACH_INTRINSIC_IC(F) \ | 963 #define FOR_EACH_INTRINSIC_IC(F) \ |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1164 kMaybeDeopted = 1 << 3, | 1166 kMaybeDeopted = 1 << 3, |
1165 kOptimized = 1 << 4, | 1167 kOptimized = 1 << 4, |
1166 kTurboFanned = 1 << 5, | 1168 kTurboFanned = 1 << 5, |
1167 kInterpreted = 1 << 6, | 1169 kInterpreted = 1 << 6, |
1168 }; | 1170 }; |
1169 | 1171 |
1170 } // namespace internal | 1172 } // namespace internal |
1171 } // namespace v8 | 1173 } // namespace v8 |
1172 | 1174 |
1173 #endif // V8_RUNTIME_RUNTIME_H_ | 1175 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |