Skip to content

Commit 270540b

Browse files
committed
Remove duplicate va_arg
1 parent ef3358b commit 270540b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/librustc_codegen_llvm/builder.rs

-7
Original file line numberDiff line numberDiff line change
@@ -1514,11 +1514,4 @@ impl Builder<'a, 'll, 'tcx> {
15141514
llvm::LLVMAddIncoming(phi, &val, &bb, 1 as c_uint);
15151515
}
15161516
}
1517-
1518-
crate fn va_arg(&mut self, list: &'ll Value, ty: &'ll Type) -> &'ll Value {
1519-
self.count_insn("vaarg");
1520-
unsafe {
1521-
llvm::LLVMBuildVAArg(self.llbuilder, list, ty, noname())
1522-
}
1523-
}
15241517
}

0 commit comments

Comments
 (0)