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

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

Issue 2386183004: [wasm] Call a runtime function for a MemorySize instruction. (Closed)
Patch Set: Comments addressed 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
« 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 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 F(TypedArrayGetBuffer, 1, 1) \ 910 F(TypedArrayGetBuffer, 1, 1) \
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(WasmMemorySize, 0, 1) \
920 F(WasmThrowTypeError, 0, 1) \ 921 F(WasmThrowTypeError, 0, 1) \
921 F(WasmThrow, 2, 1) \ 922 F(WasmThrow, 2, 1) \
922 F(WasmGetCaughtExceptionValue, 1, 1) 923 F(WasmGetCaughtExceptionValue, 1, 1)
923 924
924 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ 925 #define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
925 F(LoadLookupSlotForCall, 1, 2) 926 F(LoadLookupSlotForCall, 1, 2)
926 927
927 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \ 928 #define FOR_EACH_INTRINSIC_RETURN_TRIPLE(F) \
928 F(ForInPrepare, 1, 3) 929 F(ForInPrepare, 1, 3)
929 930
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 1125
1125 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1126 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1126 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1127 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1127 STATIC_ASSERT(LANGUAGE_END == 2); 1128 STATIC_ASSERT(LANGUAGE_END == 2);
1128 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1129 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1129 1130
1130 } // namespace internal 1131 } // namespace internal
1131 } // namespace v8 1132 } // namespace v8
1132 1133
1133 #endif // V8_RUNTIME_RUNTIME_H_ 1134 #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