From fd303c83436fabe397af73686abd0d1158de27a3 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Fri, 5 Jul 2024 07:51:37 +0200 Subject: [PATCH] fixes asmjit deprecation warning --- gen_input/templates/asmjit/CORENAME.cpp.gtl | 4 +- src/vm/asmjit/vm_tgc5c.cpp | 178 ++++++++++---------- 2 files changed, 91 insertions(+), 91 deletions(-) diff --git a/gen_input/templates/asmjit/CORENAME.cpp.gtl b/gen_input/templates/asmjit/CORENAME.cpp.gtl index e030e99..17e5852 100644 --- a/gen_input/templates/asmjit/CORENAME.cpp.gtl +++ b/gen_input/templates/asmjit/CORENAME.cpp.gtl @@ -147,7 +147,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -318,7 +318,7 @@ void vm_impl::gen_block_epilogue(jit_holder& jh){ cc.mov(instr, 0); // FIXME:this is not correct cc.comment("//enter trap call;"); InvokeNode* call_enter_trap; - cc.invoke(&call_enter_trap, &enter_trap, FuncSignatureT()); + cc.invoke(&call_enter_trap, &enter_trap, FuncSignature::build()); call_enter_trap->setArg(0, jh.arch_if_ptr); call_enter_trap->setArg(1, current_trap_state); call_enter_trap->setArg(2, current_pc); diff --git a/src/vm/asmjit/vm_tgc5c.cpp b/src/vm/asmjit/vm_tgc5c.cpp index d99a50a..c6acf66 100644 --- a/src/vm/asmjit/vm_tgc5c.cpp +++ b/src/vm/asmjit/vm_tgc5c.cpp @@ -322,7 +322,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -368,7 +368,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -414,7 +414,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -469,7 +469,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -537,7 +537,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -595,7 +595,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -653,7 +653,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -713,7 +713,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -773,7 +773,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -831,7 +831,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -889,7 +889,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -942,7 +942,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -995,7 +995,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1048,7 +1048,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1100,7 +1100,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1152,7 +1152,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1200,7 +1200,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1248,7 +1248,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1296,7 +1296,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1345,7 +1345,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1407,7 +1407,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1468,7 +1468,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1516,7 +1516,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1564,7 +1564,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1612,7 +1612,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1660,7 +1660,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1708,7 +1708,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1758,7 +1758,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1807,7 +1807,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1856,7 +1856,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1905,7 +1905,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -1968,7 +1968,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2029,7 +2029,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2077,7 +2077,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2126,7 +2126,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2177,7 +2177,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2225,7 +2225,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2275,7 +2275,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2310,7 +2310,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2345,7 +2345,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2380,7 +2380,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2415,7 +2415,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2454,7 +2454,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2507,7 +2507,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2560,7 +2560,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2613,7 +2613,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2662,7 +2662,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2714,7 +2714,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2766,7 +2766,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2805,7 +2805,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2857,7 +2857,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2910,7 +2910,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -2962,7 +2962,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3014,7 +3014,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3098,7 +3098,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3162,7 +3162,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3250,7 +3250,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3313,7 +3313,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3360,7 +3360,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3405,7 +3405,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3447,7 +3447,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3493,7 +3493,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3529,7 +3529,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3571,7 +3571,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3617,7 +3617,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3660,7 +3660,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3704,7 +3704,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3742,7 +3742,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3782,7 +3782,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3835,7 +3835,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3876,7 +3876,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3917,7 +3917,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3957,7 +3957,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -3997,7 +3997,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4036,7 +4036,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4076,7 +4076,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4123,7 +4123,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4170,7 +4170,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4217,7 +4217,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4266,7 +4266,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4311,7 +4311,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4354,7 +4354,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4392,7 +4392,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4439,7 +4439,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4485,7 +4485,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4523,7 +4523,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4567,7 +4567,7 @@ private: InvokeNode* call_print_disass; char* mnemonic_ptr = strdup(mnemonic.c_str()); jh.disass_collection.push_back(mnemonic_ptr); - jh.cc.invoke(&call_print_disass, &print_disass, FuncSignatureT()); + jh.cc.invoke(&call_print_disass, &print_disass, FuncSignature::build()); call_print_disass->setArg(0, jh.arch_if_ptr); call_print_disass->setArg(1, pc.val); call_print_disass->setArg(2, mnemonic_ptr); @@ -4739,7 +4739,7 @@ void vm_impl::gen_block_epilogue(jit_holder& jh){ cc.mov(instr, 0); // FIXME:this is not correct cc.comment("//enter trap call;"); InvokeNode* call_enter_trap; - cc.invoke(&call_enter_trap, &enter_trap, FuncSignatureT()); + cc.invoke(&call_enter_trap, &enter_trap, FuncSignature::build()); call_enter_trap->setArg(0, jh.arch_if_ptr); call_enter_trap->setArg(1, current_trap_state); call_enter_trap->setArg(2, current_pc); @@ -4802,4 +4802,4 @@ volatile std::array dummy = { }; } } -// clang-format on \ No newline at end of file +// clang-format on