From fe88440bd2aa2647d41ed33193ce5eac682afa17 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Fri, 1 Mar 2019 15:05:18 +0100 Subject: [PATCH] Add a comment --- src/librustc_codegen_llvm/builder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_codegen_llvm/builder.rs b/src/librustc_codegen_llvm/builder.rs index d0a861171c1..048adb0fb80 100644 --- a/src/librustc_codegen_llvm/builder.rs +++ b/src/librustc_codegen_llvm/builder.rs @@ -1472,6 +1472,7 @@ impl BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> { impl StaticBuilderMethods<'tcx> for Builder<'a, 'll, 'tcx> { fn get_static(&self, def_id: DefId) -> &'ll Value { + // Forward to the `get_static` method of `CodegenCx` self.cx().get_static(def_id) } }