about summary refs log tree commit diff
path: root/src/librustc_codegen_ssa
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-01-14 17:54:00 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-01-22 17:22:29 +0100
commita59eabbc36d7b96bb9e42d9bc6691d28b62c4187 (patch)
treed0f4b7016da9a15c573dd69d5db55a6012299057 /src/librustc_codegen_ssa
parentad30e9a6814b5d29dfbdcd85ecde48afcc94389b (diff)
downloadrust-a59eabbc36d7b96bb9e42d9bc6691d28b62c4187.tar.gz
rust-a59eabbc36d7b96bb9e42d9bc6691d28b62c4187.zip
Get rid of the fake stack frame
Diffstat (limited to 'src/librustc_codegen_ssa')
-rw-r--r--src/librustc_codegen_ssa/mir/constant.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/mir/constant.rs b/src/librustc_codegen_ssa/mir/constant.rs
index e6d6ef1d7a3..56d4342e6e1 100644
--- a/src/librustc_codegen_ssa/mir/constant.rs
+++ b/src/librustc_codegen_ssa/mir/constant.rs
@@ -59,7 +59,6 @@ impl<'a, 'tcx: 'a, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
                     let field = const_field(
                         bx.tcx(),
                         ty::ParamEnv::reveal_all(),
-                        self.instance,
                         None,
                         mir::Field::new(field as usize),
                         c,