diff --git a/asmjit/ujit/unicompiler.h b/asmjit/ujit/unicompiler.h index 79b7d7c..651e2ac 100644 --- a/asmjit/ujit/unicompiler.h +++ b/asmjit/ujit/unicompiler.h @@ -761,7 +761,7 @@ public: template [[nodiscard]] ASMJIT_INLINE RegT new_reg(TypeId type_id, Args&&... args) noexcept { - return cc->new_similar_reg(type_id, std::forward(args)...); + return cc->new_reg(type_id, std::forward(args)...); } //! Wraps `BackendCompiler::new_similar_reg(ref, args...)`.