From 26df995f7c285e096aaaa1c9411f65a9c033482c Mon Sep 17 00:00:00 2001 From: lax1dude Date: Sat, 2 Nov 2024 16:03:59 -0700 Subject: [PATCH] fix wrong names --- .../teavm/backend/wasm/intrinsics/gc/WasmGCIntrinsics.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/teavm/backend/wasm/intrinsics/gc/WasmGCIntrinsics.java b/core/src/main/java/org/teavm/backend/wasm/intrinsics/gc/WasmGCIntrinsics.java index a477d8d5b..2d47b68ca 100644 --- a/core/src/main/java/org/teavm/backend/wasm/intrinsics/gc/WasmGCIntrinsics.java +++ b/core/src/main/java/org/teavm/backend/wasm/intrinsics/gc/WasmGCIntrinsics.java @@ -188,8 +188,8 @@ public class WasmGCIntrinsics implements WasmGCIntrinsicProvider { add(new MethodReference(LaxMalloc.class, "laxMalloc", int.class, Address.class), laxMallocIntrinsic); add(new MethodReference(LaxMalloc.class, "laxCalloc", int.class, Address.class), laxMallocIntrinsic); add(new MethodReference(LaxMalloc.class, "laxFree", Address.class, void.class), laxMallocIntrinsic); - add(new MethodReference(LaxMalloc.class, "getHeapMinSize", int.class), laxMallocIntrinsic); - add(new MethodReference(LaxMalloc.class, "getHeapMaxSize", int.class), laxMallocIntrinsic); + add(new MethodReference(LaxMalloc.class, "getHeapMinAddr", Address.class), laxMallocIntrinsic); + add(new MethodReference(LaxMalloc.class, "getHeapMaxAddr", Address.class), laxMallocIntrinsic); } private void fillAddress() {