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