cpu: use correct type when defining llvm value is_int constexpr

This commit is contained in:
scribam authored and Ivan committed 2018-09-10 19:59:37 +03:00
1 parent c8c8ce5e9e
commit 3072571a4f
1 file changed
+3 -3
+3 -3
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)
{