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

Unified Diff: src/runtime/runtime.h

Issue 2051043002: Implement Wasm GrowMemory opcode as a wasm runtime call (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ben's review, fix includes Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 020606e769bc53864806482881a90907d9c6b055..e67e0647baa68a5675581e6f71d5028515ba2615 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -932,6 +932,7 @@ namespace internal {
F(DataViewSetFloat32, 4, 1) \
F(DataViewSetFloat64, 4, 1)
+#define FOR_EACH_INTRINSIC_WASM(F) F(WasmGrowMemory, 2, 1)
#define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \
F(LoadLookupSlotForCall, 1, 2)
@@ -994,7 +995,8 @@ namespace internal {
FOR_EACH_INTRINSIC_STRINGS(F) \
FOR_EACH_INTRINSIC_SYMBOL(F) \
FOR_EACH_INTRINSIC_TEST(F) \
- FOR_EACH_INTRINSIC_TYPEDARRAY(F)
+ FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
+ FOR_EACH_INTRINSIC_WASM(F)
// FOR_EACH_INTRINSIC defines the list of all intrinsics, coming in 2 flavors,
// either returning an object or a pair.

Powered by Google App Engine
This is Rietveld 408576698