about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2019-03-01 15:05:18 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2019-03-29 17:17:12 +0100
commitfe88440bd2aa2647d41ed33193ce5eac682afa17 (patch)
tree4120f6112280d70df646505577192ad97eaf78c5
parent83e80a74436179588703db2d597e80f57e42efbe (diff)
downloadrust-fe88440bd2aa2647d41ed33193ce5eac682afa17.tar.gz
rust-fe88440bd2aa2647d41ed33193ce5eac682afa17.zip
Add a comment
-rw-r--r--src/librustc_codegen_llvm/builder.rs1
1 files changed, 1 insertions, 0 deletions
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)
     }
 }