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 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
938 F(WasmThrowTypeError, 0, 1) \ | 938 F(WasmThrowTypeError, 0, 1) \ |
939 F(WasmThrow, 2, 1) \ | 939 F(WasmThrow, 2, 1) \ |
940 F(WasmGetCaughtExceptionValue, 1, 1) \ | 940 F(WasmGetCaughtExceptionValue, 1, 1) \ |
941 F(ThrowWasmTrapUnreachable, 0, 1) \ | 941 F(ThrowWasmTrapUnreachable, 0, 1) \ |
942 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \ | 942 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \ |
943 F(ThrowWasmTrapDivByZero, 0, 1) \ | 943 F(ThrowWasmTrapDivByZero, 0, 1) \ |
944 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \ | 944 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \ |
945 F(ThrowWasmTrapRemByZero, 0, 1) \ | 945 F(ThrowWasmTrapRemByZero, 0, 1) \ |
946 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \ | 946 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \ |
947 F(ThrowWasmTrapFuncInvalid, 0, 1) \ | 947 F(ThrowWasmTrapFuncInvalid, 0, 1) \ |
948 F(ThrowWasmTrapFuncSigMismatch, 0, 1) | 948 F(ThrowWasmTrapFuncSigMismatch, 0, 1) \ |
| 949 F(SetThreadInWasm, 0, 1) \ |
| 950 F(ClearThreadInWasm, 0, 1) |
949 | 951 |
950 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 952 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
951 F(LoadLookupSlotForCall, 1, 2) | 953 F(LoadLookupSlotForCall, 1, 2) |
952 | 954 |
953 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 955 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
954 F(ForInPrepare, 1, 3) | 956 F(ForInPrepare, 1, 3) |
955 | 957 |
956 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 958 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
957 // implemented in ic.cc for now. | 959 // implemented in ic.cc for now. |
958 #define FOR_EACH_INTRINSIC_IC(F) \ | 960 #define FOR_EACH_INTRINSIC_IC(F) \ |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 | 1151 |
1150 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1152 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1151 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1153 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1152 STATIC_ASSERT(LANGUAGE_END == 2); | 1154 STATIC_ASSERT(LANGUAGE_END == 2); |
1153 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1155 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1154 | 1156 |
1155 } // namespace internal | 1157 } // namespace internal |
1156 } // namespace v8 | 1158 } // namespace v8 |
1157 | 1159 |
1158 #endif // V8_RUNTIME_RUNTIME_H_ | 1160 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |