diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2020-04-15 00:07:31 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2020-04-28 11:49:55 +0200 |
| commit | e33327782f868e81ece04b40d6fae56ede9845cd (patch) | |
| tree | 2c7ce82333afaf651c746dba2fe7466f9993ec28 /src/librustc_codegen_llvm | |
| parent | 0b789834ddfd96bfa7c28524d8d43535cb0fd7dc (diff) | |
Move a few queries to using an arena.
Diffstat (limited to 'src/librustc_codegen_llvm')
| -rw-r--r-- | src/librustc_codegen_llvm/attributes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/attributes.rs b/src/librustc_codegen_llvm/attributes.rs index 93577d64157..0eae17b5f56 100644 --- a/src/librustc_codegen_llvm/attributes.rs +++ b/src/librustc_codegen_llvm/attributes.rs @@ -252,7 +252,7 @@ pub fn from_fn_attrs(cx: &CodegenCx<'ll, 'tcx>, llfn: &'ll Value, instance: ty:: inline(cx, llfn, attributes::InlineAttr::Hint); } - inline(cx, llfn, codegen_fn_attrs.inline); + inline(cx, llfn, codegen_fn_attrs.inline.clone()); // The `uwtable` attribute according to LLVM is: // |
