Skip to content

Commit

Permalink
Remove duplicate va_arg
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Mar 1, 2019
1 parent ef3358b commit 270540b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/librustc_codegen_llvm/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1514,11 +1514,4 @@ impl Builder<'a, 'll, 'tcx> {
llvm::LLVMAddIncoming(phi, &val, &bb, 1 as c_uint);
}
}

crate fn va_arg(&mut self, list: &'ll Value, ty: &'ll Type) -> &'ll Value {
self.count_insn("vaarg");
unsafe {
llvm::LLVMBuildVAArg(self.llbuilder, list, ty, noname())
}
}
}

0 comments on commit 270540b

Please sign in to comment.