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

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

Issue 2254803002: [wasm] Throw a type error if an I64 is exported to JS. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove IfSuccess nodes for now. Created 4 years, 4 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/messages.h ('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 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 F(DataViewGetFloat64, 3, 1) \ 914 F(DataViewGetFloat64, 3, 1) \
915 F(DataViewSetUint8, 4, 1) \ 915 F(DataViewSetUint8, 4, 1) \
916 F(DataViewSetInt8, 4, 1) \ 916 F(DataViewSetInt8, 4, 1) \
917 F(DataViewSetUint16, 4, 1) \ 917 F(DataViewSetUint16, 4, 1) \
918 F(DataViewSetInt16, 4, 1) \ 918 F(DataViewSetInt16, 4, 1) \
919 F(DataViewSetUint32, 4, 1) \ 919 F(DataViewSetUint32, 4, 1) \
920 F(DataViewSetInt32, 4, 1) \ 920 F(DataViewSetInt32, 4, 1) \
921 F(DataViewSetFloat32, 4, 1) \ 921 F(DataViewSetFloat32, 4, 1) \
922 F(DataViewSetFloat64, 4, 1) 922 F(DataViewSetFloat64, 4, 1)
923 923
924 #define FOR_EACH_INTRINSIC_WASM(F) F(WasmGrowMemory, 1, 1) 924 #define FOR_EACH_INTRINSIC_WASM(F) \
925 F(WasmGrowMemory, 1, 1) \
926 F(WasmThrowTypeError, 0, 1)
925 927
926 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ 928 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
927 F(LoadLookupSlotForCall, 1, 2) 929 F(LoadLookupSlotForCall, 1, 2)
928 930
929 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ 931 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \
930 F(ForInPrepare, 1, 3) 932 F(ForInPrepare, 1, 3)
931 933
932 // Most intrinsics are implemented in the runtime/ directory, but ICs are 934 // Most intrinsics are implemented in the runtime/ directory, but ICs are
933 // implemented in ic.cc for now. 935 // implemented in ic.cc for now.
934 #define FOR_EACH_INTRINSIC_IC(F) \ 936 #define FOR_EACH_INTRINSIC_IC(F) \
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 1137
1136 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1138 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1137 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1139 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1138 STATIC_ASSERT(LAST_LANGUAGE_MODE == 1); 1140 STATIC_ASSERT(LAST_LANGUAGE_MODE == 1);
1139 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1141 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1140 1142
1141 } // namespace internal 1143 } // namespace internal
1142 } // namespace v8 1144 } // namespace v8
1143 1145
1144 #endif // V8_RUNTIME_RUNTIME_H_ 1146 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/messages.h ('k') | src/runtime/runtime-wasm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698