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