Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(918)

Side by Side Diff: src/runtime/runtime.h

Issue 2378773013: [WASM] Implements catch for the wasm low level exception mechanism. (Closed)
Patch Set: updates effect dependencies. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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)
922 923
923 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ 924 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
924 F(LoadLookupSlotForCall, 1, 2) 925 F(LoadLookupSlotForCall, 1, 2)
925 926
926 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ 927 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \
927 F(ForInPrepare, 1, 3) 928 F(ForInPrepare, 1, 3)
928 929
929 // Most intrinsics are implemented in the runtime/ directory, but ICs are 930 // Most intrinsics are implemented in the runtime/ directory, but ICs are
930 // implemented in ic.cc for now. 931 // implemented in ic.cc for now.
931 #define FOR_EACH_INTRINSIC_IC(F) \ 932 #define FOR_EACH_INTRINSIC_IC(F) \
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698