From ee6a11dae6ae62c9d7f71cc02c661d7b169c0e0b Mon Sep 17 00:00:00 2001 From: Eyck-Alexander Jentzsch Date: Thu, 9 May 2024 20:54:30 +0200 Subject: [PATCH] fixes typo --- gen_input/templates/asmjit/CORENAME.cpp.gtl | 2 +- src/vm/asmjit/vm_tgc5c.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gen_input/templates/asmjit/CORENAME.cpp.gtl b/gen_input/templates/asmjit/CORENAME.cpp.gtl index 47167ed..081d9de 100644 --- a/gen_input/templates/asmjit/CORENAME.cpp.gtl +++ b/gen_input/templates/asmjit/CORENAME.cpp.gtl @@ -324,7 +324,7 @@ void vm_impl::gen_block_epilogue(jit_holder& jh){ cc.ret(jh.next_pc); } template -inline void vm_impl:: gen_raise(jit_holder& jh, uint16_t trap_id, uint16_t cause) { +inline void vm_impl::gen_raise(jit_holder& jh, uint16_t trap_id, uint16_t cause) { auto& cc = jh.cc; cc.comment("//gen_raise"); auto tmp1 = get_reg_for(jh, traits::TRAP_STATE); diff --git a/src/vm/asmjit/vm_tgc5c.cpp b/src/vm/asmjit/vm_tgc5c.cpp index 5b35db0..8955a24 100644 --- a/src/vm/asmjit/vm_tgc5c.cpp +++ b/src/vm/asmjit/vm_tgc5c.cpp @@ -80,7 +80,7 @@ public: protected: using super::get_ptr_for; -using super::get_reg; + using super::get_reg; using super::get_reg_for; using super::load_reg_from_mem; using super::write_reg_to_mem; @@ -4757,7 +4757,7 @@ void vm_impl::gen_block_epilogue(jit_holder& jh){ cc.ret(jh.next_pc); } template -inline void vm_impl:: gen_raise(jit_holder& jh, uint16_t trap_id, uint16_t cause) { +inline void vm_impl::gen_raise(jit_holder& jh, uint16_t trap_id, uint16_t cause) { auto& cc = jh.cc; cc.comment("//gen_raise"); auto tmp1 = get_reg_for(jh, traits::TRAP_STATE);