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

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

Issue 2339053003: [V8][Wasm] Wasm throws. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addresses comments. Created 4 years, 3 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 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
« 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