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:
parent
c8c8ce5e9e
commit
3072571a4f
@ -77,7 +77,7 @@ struct llvm_value_t<bool> : llvm_value_t<void>
|
|||||||
using base::base;
|
using base::base;
|
||||||
|
|
||||||
static constexpr uint esize = 1;
|
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)
|
static llvm::Type* get_type(llvm::LLVMContext& context)
|
||||||
{
|
{
|
||||||
@ -93,7 +93,7 @@ struct llvm_value_t<i2> : llvm_value_t<void>
|
|||||||
using base::base;
|
using base::base;
|
||||||
|
|
||||||
static constexpr uint esize = 2;
|
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)
|
static llvm::Type* get_type(llvm::LLVMContext& context)
|
||||||
{
|
{
|
||||||
@ -109,7 +109,7 @@ struct llvm_value_t<i4> : llvm_value_t<void>
|
|||||||
using base::base;
|
using base::base;
|
||||||
|
|
||||||
static constexpr uint esize = 4;
|
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)
|
static llvm::Type* get_type(llvm::LLVMContext& context)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user