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 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
907 F(TypedArrayGetBuffer, 1, 1) \ | 907 F(TypedArrayGetBuffer, 1, 1) \ |
908 F(TypedArraySetFastCases, 3, 1) \ | 908 F(TypedArraySetFastCases, 3, 1) \ |
909 F(TypedArrayMaxSizeInHeap, 0, 1) \ | 909 F(TypedArrayMaxSizeInHeap, 0, 1) \ |
910 F(IsTypedArray, 1, 1) \ | 910 F(IsTypedArray, 1, 1) \ |
911 F(IsSharedTypedArray, 1, 1) \ | 911 F(IsSharedTypedArray, 1, 1) \ |
912 F(IsSharedIntegerTypedArray, 1, 1) \ | 912 F(IsSharedIntegerTypedArray, 1, 1) \ |
913 F(IsSharedInteger32TypedArray, 1, 1) | 913 F(IsSharedInteger32TypedArray, 1, 1) |
914 | 914 |
915 #define FOR_EACH_INTRINSIC_WASM(F) \ | 915 #define FOR_EACH_INTRINSIC_WASM(F) \ |
916 F(WasmGrowMemory, 1, 1) \ | 916 F(WasmGrowMemory, 1, 1) \ |
917 F(WasmThrowTypeError, 0, 1) | 917 F(WasmThrowTypeError, 0, 1) \ |
| 918 F(WasmThrow, 2, 1) |
918 | 919 |
919 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ | 920 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
920 F(LoadLookupSlotForCall, 1, 2) | 921 F(LoadLookupSlotForCall, 1, 2) |
921 | 922 |
922 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ | 923 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ |
923 F(ForInPrepare, 1, 3) | 924 F(ForInPrepare, 1, 3) |
924 | 925 |
925 // Most intrinsics are implemented in the runtime/ directory, but ICs are | 926 // Most intrinsics are implemented in the runtime/ directory, but ICs are |
926 // implemented in ic.cc for now. | 927 // implemented in ic.cc for now. |
927 #define FOR_EACH_INTRINSIC_IC(F) \ | 928 #define FOR_EACH_INTRINSIC_IC(F) \ |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1123 | 1124 |
1124 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1125 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1125 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1126 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1126 STATIC_ASSERT(LANGUAGE_END == 2); | 1127 STATIC_ASSERT(LANGUAGE_END == 2); |
1127 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1128 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1128 | 1129 |
1129 } // namespace internal | 1130 } // namespace internal |
1130 } // namespace v8 | 1131 } // namespace v8 |
1131 | 1132 |
1132 #endif // V8_RUNTIME_RUNTIME_H_ | 1133 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |