This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new fc20c0a619 [FFI][ABI] Bump tvm-ffi version to reflect RC ABI Update
(#18345)
fc20c0a619 is described below
commit fc20c0a619498c49f62e29d608c5f84318b1723b
Author: Tianqi Chen <[email protected]>
AuthorDate: Fri Sep 26 17:27:27 2025 -0400
[FFI][ABI] Bump tvm-ffi version to reflect RC ABI Update (#18345)
This PR bumps tvm-ffi version. The latest version contains a change
to the RC ABI that also needs web runtime update.
---
3rdparty/tvm-ffi | 2 +-
web/src/memory.ts | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/3rdparty/tvm-ffi b/3rdparty/tvm-ffi
index b03cc7845a..43ffe571bf 160000
--- a/3rdparty/tvm-ffi
+++ b/3rdparty/tvm-ffi
@@ -1 +1 @@
-Subproject commit b03cc7845ae92060881e14c4f50a4b6da4d9f982
+Subproject commit 43ffe571bfef2a3f2c2dc254ca3e5dc10e093daa
diff --git a/web/src/memory.ts b/web/src/memory.ts
index 94ecb4e15a..c57f83854d 100644
--- a/web/src/memory.ts
+++ b/web/src/memory.ts
@@ -175,7 +175,8 @@ export class Memory {
* @returns The object type index.
*/
loadObjectTypeIndex(objectHandle: Pointer): number {
- return this.loadI32(objectHandle);
+ // The object layout is [ref_counter (i64), type_index (i32), ...].
+ return this.loadI32(objectHandle + SizeOf.I64);
}
/**
* Load the type key from the type info pointer.