Skip to content

Commit

Permalink
Remove an unnecessary reference
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Nov 29, 2018
1 parent 2d4c96d commit b8d55d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_codegen_llvm/context.rs
Expand Up @@ -332,7 +332,7 @@ impl MiscMethods<'tcx> for CodegenCx<'ll, 'tcx> {
}

fn get_fn(&self, instance: Instance<'tcx>) -> &'ll Value {
get_fn(&&self,instance)
get_fn(self, instance)
}

fn get_param(&self, llfn: &'ll Value, index: c_uint) -> &'ll Value {
Expand Down

0 comments on commit b8d55d4

Please sign in to comment.