1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00

cpu: use correct type when defining llvm value is_int constexpr

This commit is contained in:
scribam 2018-09-09 17:05:56 +02:00 committed by Ivan
parent c8c8ce5e9e
commit 3072571a4f

View File

@ -77,7 +77,7 @@ struct llvm_value_t<bool> : llvm_value_t<void>
using base::base;
static constexpr uint esize = 1;
static constexpr uint is_int = true;
static constexpr bool is_int = true;
static llvm::Type* get_type(llvm::LLVMContext& context)
{
@ -93,7 +93,7 @@ struct llvm_value_t<i2> : llvm_value_t<void>
using base::base;
static constexpr uint esize = 2;
static constexpr uint is_int = true;
static constexpr bool is_int = true;
static llvm::Type* get_type(llvm::LLVMContext& context)
{
@ -109,7 +109,7 @@ struct llvm_value_t<i4> : llvm_value_t<void>
using base::base;
static constexpr uint esize = 4;
static constexpr uint is_int = true;
static constexpr bool is_int = true;
static llvm::Type* get_type(llvm::LLVMContext& context)
{