Skip to content

Commit 73a91cc

Browse files
committed
allocgate
1 parent 18b0206 commit 73a91cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/link/NvPtx.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const LlvmObject = @import("../codegen/llvm.zig").Object;
2424
base: link.File,
2525
llvm_object: *LlvmObject,
2626

27-
pub fn createEmpty(gpa: *Allocator, options: link.Options) !*NvPtx {
27+
pub fn createEmpty(gpa: Allocator, options: link.Options) !*NvPtx {
2828
const nvptx = try gpa.create(NvPtx);
2929
nvptx.* = .{
3030
.base = .{
@@ -52,7 +52,7 @@ pub fn createEmpty(gpa: *Allocator, options: link.Options) !*NvPtx {
5252
return nvptx;
5353
}
5454

55-
pub fn openPath(allocator: *Allocator, sub_path: []const u8, options: link.Options) !*NvPtx {
55+
pub fn openPath(allocator: Allocator, sub_path: []const u8, options: link.Options) !*NvPtx {
5656
assert(options.object_format == .nvptx);
5757
if (!build_options.have_llvm or !options.use_llvm) return error.NvptxRequiresLlvm;
5858

0 commit comments

Comments
 (0)