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