@@ -21,7 +21,7 @@ using Core: LLVMPtr
2121 llvm_f, _ = create_function (eltyp, param_types)
2222
2323 # generate IR
24- @dispose builder= Builder (ctx) begin
24+ @dispose builder= IRBuilder (ctx) begin
2525 entry = BasicBlock (llvm_f, " entry" ; ctx)
2626 position! (builder, entry)
2727 if supports_typed_pointers (ctx)
5959 llvm_f, _ = create_function (LLVM. VoidType (ctx), param_types)
6060
6161 # generate IR
62- @dispose builder= Builder (ctx) begin
62+ @dispose builder= IRBuilder (ctx) begin
6363 entry = BasicBlock (llvm_f, " entry" ; ctx)
6464 position! (builder, entry)
6565 if supports_typed_pointers (ctx)
@@ -129,7 +129,7 @@ Base.signed(x::LLVMPtr) = Int(x)
129129 llvm_f, _ = create_function (T_dest, [T_src])
130130 mod = LLVM. parent (llvm_f)
131131
132- @dispose builder= Builder (ctx) begin
132+ @dispose builder= IRBuilder (ctx) begin
133133 entry = BasicBlock (llvm_f, " entry" ; ctx)
134134 position! (builder, entry)
135135
164164 llvm_f, _ = create_function (T_ret, T_args)
165165 mod = LLVM. parent (llvm_f)
166166
167- @dispose builder= Builder (ctx) begin
167+ @dispose builder= IRBuilder (ctx) begin
168168 entry = BasicBlock (llvm_f, " entry" ; ctx)
169169 position! (builder, entry)
170170
0 commit comments