Index: src/runtime/runtime.h |
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h |
index 78cff340893a291d7fd27e3f4afdfb5f586c88bd..d9a4a9dd6de67596ceade6e920004a567f26524e 100644 |
--- a/src/runtime/runtime.h |
+++ b/src/runtime/runtime.h |
@@ -947,6 +947,17 @@ namespace internal { |
F(ThrowWasmTrapFuncInvalid, 0, 1) \ |
F(ThrowWasmTrapFuncSigMismatch, 0, 1) |
+#define FOR_EACH_INTRINSIC_FFI(F) \ |
+ F(JSStringToCharPtr, 1, 1) \ |
+ F(TypedArrayToUint8Ptr, 1, 1) \ |
+ F(BufferToPtrNoCopy, 1, 1) \ |
+ F(CharPtrToJSString, 1, 1) \ |
+ F(JSFunctionToFnPtr, 2, 1) \ |
+ F(JSObjectToStructPtr, 2, 1) \ |
+ F(PointerToForeign, 1, 1) \ |
+ F(ForeignToPointer, 1, 1) \ |
+ F(ReleaseFFIMemPool, 0, 1) |
+ |
#define FOR_EACH_INTRINSIC_RETURN_PAIR(F) \ |
F(LoadLookupSlotForCall, 1, 2) |
@@ -987,6 +998,7 @@ namespace internal { |
FOR_EACH_INTRINSIC_DATE(F) \ |
FOR_EACH_INTRINSIC_DEBUG(F) \ |
FOR_EACH_INTRINSIC_ERROR(F) \ |
+ FOR_EACH_INTRINSIC_FFI(F) \ |
FOR_EACH_INTRINSIC_FORIN(F) \ |
FOR_EACH_INTRINSIC_INTERPRETER(F) \ |
FOR_EACH_INTRINSIC_FUNCTION(F) \ |