You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2023/01/29 15:45:41 UTC

[tvm] branch main updated: [WASM][FIX] test tests/node/websock_rpc_test.py (#13862)

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 10d6c17238 [WASM][FIX] test tests/node/websock_rpc_test.py (#13862)
10d6c17238 is described below

commit 10d6c1723899385fcd2843e01aec55d8cf39b0b5
Author: Eye <38...@qq.com>
AuthorDate: Sun Jan 29 23:45:33 2023 +0800

    [WASM][FIX] test tests/node/websock_rpc_test.py (#13862)
    
    Co-authored-by: rqg <ra...@gmail.com>
---
 web/emcc/tvmjs_support.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/emcc/tvmjs_support.cc b/web/emcc/tvmjs_support.cc
index aa9546f3b7..6395bfbb08 100644
--- a/web/emcc/tvmjs_support.cc
+++ b/web/emcc/tvmjs_support.cc
@@ -162,7 +162,7 @@ class AsyncLocalSession : public LocalSession {
       // pass the callback as the last argument.
       setter(num_args, packed_callback);
 
-      auto* pf = static_cast<PackedFunc*>(func);
+      auto* pf = static_cast<PackedFuncObj*>(func);
       pf->CallPacked(TVMArgs(values.data(), type_codes.data(), num_args + 1), &temp);
     } else if (func == get_time_eval_placeholder_.get()) {
       // special handle time evaluator.