Change llvm void pointer to i8 pointer to avoid assert failed (#250)

This commit is contained in:
wenyongh
2020-05-08 13:40:04 +08:00
committed by GitHub
parent 44ccfd20ad
commit 7abd1ca813
4 changed files with 2 additions and 50 deletions

View File

@ -192,7 +192,6 @@ typedef enum FloatArithmetic {
#define INT64_PTR_TYPE comp_ctx->basic_types.int64_ptr_type
#define F32_PTR_TYPE comp_ctx->basic_types.float32_ptr_type
#define F64_PTR_TYPE comp_ctx->basic_types.float64_ptr_type
#define VOID_PTR_TYPE comp_ctx->basic_types.void_ptr_type
#define I32_CONST(v) LLVMConstInt(I32_TYPE, v, true)
#define I64_CONST(v) LLVMConstInt(I64_TYPE, v, true)