Pass pointer of iree_vm_func_t to IREE_DISPATCH_LOG_CALL. (#4161)
This was not caught by CI because it needs to build with
`#define IREE_DISPATCH_LOGGING 1`, which logs more information for
dispatches. The macro takes `const iree_vm_function_t *` type as
argument, so we have to pass by pointer.
diff --git a/iree/vm/bytecode_dispatch.c b/iree/vm/bytecode_dispatch.c
index 2a9ef1b..e03c3ae 100644
--- a/iree/vm/bytecode_dispatch.c
+++ b/iree/vm/bytecode_dispatch.c
@@ -109,7 +109,7 @@
iree_vm_stack_t* stack, const iree_vm_function_t function,
iree_vm_stack_frame_t** out_callee_frame,
iree_vm_registers_t* out_callee_registers) {
- IREE_DISPATCH_LOG_CALL(function);
+ IREE_DISPATCH_LOG_CALL(&function);
iree_vm_bytecode_module_t* module =
(iree_vm_bytecode_module_t*)function.module->self;