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