Skip to content

Commit

Permalink
Switch to opaque pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik committed Jun 20, 2024
1 parent 75d280d commit 4eef1be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,19 +145,19 @@ auto getInt8PtrTy(LLVMContext &ctxt) {
return PointerType::getUnqual(ctxt);
}
auto getInt16PtrTy(LLVMContext &ctxt) {
return Type::getInt16PtrTy(ctxt);
return PointerType::getUnqual(ctxt);
}
auto getInt32PtrTy(LLVMContext &ctxt) {
return Type::getInt32PtrTy(ctxt);
return PointerType::getUnqual(ctxt);
}
auto getInt64PtrTy(LLVMContext &ctxt) {
return Type::getInt64PtrTy(ctxt);
return PointerType::getUnqual(ctxt);
}
auto getFloatPtrTy(LLVMContext &ctxt) {
return Type::getFloatPtrTy(ctxt);
return PointerType::getUnqual(ctxt);
}
auto getDoublePtrTy(LLVMContext &ctxt) {
return Type::getDoublePtrTy(ctxt);
return PointerType::getUnqual(ctxt);
}

typedef Instruction TerminatorInst;
Expand Down

0 comments on commit 4eef1be

Please sign in to comment.