From 3925cb59ac6b3ea4703a582214c29c606959c9d8 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Wed, 17 Apr 2019 20:58:04 +0300 Subject: [PATCH] LLVM DSL: fix pointer type traits Clear and match 'void' type --- rpcs3/Emu/CPU/CPUTranslator.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpcs3/Emu/CPU/CPUTranslator.h b/rpcs3/Emu/CPU/CPUTranslator.h index 44d3dc253f..2ab6138ea2 100644 --- a/rpcs3/Emu/CPU/CPUTranslator.h +++ b/rpcs3/Emu/CPU/CPUTranslator.h @@ -298,6 +298,12 @@ struct llvm_value_t : llvm_value_t using base = llvm_value_t; using base::base; + static constexpr uint esize = 64; + static constexpr bool is_int = false; + static constexpr bool is_sint = false; + static constexpr bool is_uint = false; + static constexpr bool is_float = false; + static constexpr uint is_vector = false; static constexpr uint is_pointer = llvm_value_t::is_pointer + 1; static llvm::Type* get_type(llvm::LLVMContext& context)