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

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

Issue 2619803004: [wasm] Add support for compiling WASM_INTERPRETER_ENTRY stubs (Closed)
Patch Set: Change void* to uint8_t* 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
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/runtime/runtime-wasm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 925 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 F(WasmThrowTypeError, 0, 1) \ 936 F(WasmThrowTypeError, 0, 1) \
937 F(WasmThrow, 2, 1) \ 937 F(WasmThrow, 2, 1) \
938 F(WasmGetCaughtExceptionValue, 1, 1) \ 938 F(WasmGetCaughtExceptionValue, 1, 1) \
939 F(ThrowWasmTrapUnreachable, 0, 1) \ 939 F(ThrowWasmTrapUnreachable, 0, 1) \
940 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \ 940 F(ThrowWasmTrapMemOutOfBounds, 0, 1) \
941 F(ThrowWasmTrapDivByZero, 0, 1) \ 941 F(ThrowWasmTrapDivByZero, 0, 1) \
942 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \ 942 F(ThrowWasmTrapDivUnrepresentable, 0, 1) \
943 F(ThrowWasmTrapRemByZero, 0, 1) \ 943 F(ThrowWasmTrapRemByZero, 0, 1) \
944 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \ 944 F(ThrowWasmTrapFloatUnrepresentable, 0, 1) \
945 F(ThrowWasmTrapFuncInvalid, 0, 1) \ 945 F(ThrowWasmTrapFuncInvalid, 0, 1) \
946 F(ThrowWasmTrapFuncSigMismatch, 0, 1) 946 F(ThrowWasmTrapFuncSigMismatch, 0, 1) \
947 F(WasmRunInterpreter, 3, 1)
947 948
948 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ 949 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
949 F(LoadLookupSlotForCall, 1, 2) 950 F(LoadLookupSlotForCall, 1, 2)
950 951
951 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ 952 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \
952 F(ForInPrepare, 1, 3) 953 F(ForInPrepare, 1, 3)
953 954
954 // Most intrinsics are implemented in the runtime/ directory, but ICs are 955 // Most intrinsics are implemented in the runtime/ directory, but ICs are
955 // implemented in ic.cc for now. 956 // implemented in ic.cc for now.
956 #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
1147 1148
1148 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1149 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1149 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1150 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1150 STATIC_ASSERT(LANGUAGE_END == 2); 1151 STATIC_ASSERT(LANGUAGE_END == 2);
1151 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1152 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1152 1153
1153 } // namespace internal 1154 } // namespace internal
1154 } // namespace v8 1155 } // namespace v8
1155 1156
1156 #endif // V8_RUNTIME_RUNTIME_H_ 1157 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/runtime/runtime-wasm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698