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

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

Issue 2371833007: [wasm] Initial signal handler (Closed)
Patch Set: Feedback from mseaborn Created 3 years, 11 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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 F(WasmThrow, 2, 1) \ 942 F(WasmThrow, 2, 1) \
943 F(WasmGetCaughtExceptionValue, 1, 1) \ 943 F(WasmGetCaughtExceptionValue, 1, 1) \
944 F(ThrowWasmTrapUnreachable, 0, 1) \ 944 F(ThrowWasmTrapUnreachable, 0, 1) \
945 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \ 945 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \
946 F(ThrowWasmTrapDivByZero, 0, 1) \ 946 F(ThrowWasmTrapDivByZero, 0, 1) \
947 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \ 947 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \
948 F(ThrowWasmTrapRemByZero, 0, 1) \ 948 F(ThrowWasmTrapRemByZero, 0, 1) \
949 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \ 949 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \
950 F(ThrowWasmTrapFuncInvalid, 0, 1) \ 950 F(ThrowWasmTrapFuncInvalid, 0, 1) \
951 F(ThrowWasmTrapFuncSigMismatch, 0, 1) \ 951 F(ThrowWasmTrapFuncSigMismatch, 0, 1) \
952 F(WasmRunInterpreter, 3, 1) 952 F(WasmRunInterpreter, 3, 1) \
953 F(SetThreadInWasm, 0, 1) \
954 F(ClearThreadInWasm, 0, 1)
953 955
954 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ 956 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
955 F(LoadLookupSlotForCall, 1, 2) 957 F(LoadLookupSlotForCall, 1, 2)
956 958
957 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ 959 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \
958 F(ForInPrepare, 1, 3) 960 F(ForInPrepare, 1, 3)
959 961
960 // Most intrinsics are implemented in the runtime/ directory, but ICs are 962 // Most intrinsics are implemented in the runtime/ directory, but ICs are
961 // implemented in ic.cc for now. 963 // implemented in ic.cc for now.
962 #define FOR_EACH_INTRINSIC_IC(F) \ 964 #define FOR_EACH_INTRINSIC_IC(F) \
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 1154
1153 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1155 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1154 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1156 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1155 STATIC_ASSERT(LANGUAGE_END == 2); 1157 STATIC_ASSERT(LANGUAGE_END == 2);
1156 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1158 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1157 1159
1158 } // namespace internal 1160 } // namespace internal
1159 } // namespace v8 1161 } // namespace v8
1160 1162
1161 #endif // V8_RUNTIME_RUNTIME_H_ 1163 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698