Skip to content

Commit

Permalink
Update comment about initializing TLOF with a pointer at the previous
Browse files Browse the repository at this point in the history
line or the other commented out place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282673 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
echristo committed Sep 29, 2016
1 parent 32b5cf7 commit cfc9fcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Target/NVPTX/NVPTXAsmPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,9 @@ bool NVPTXAsmPrinter::doInitialization(Module &M) {
// We need to call the parent's one explicitly.
//bool Result = AsmPrinter::doInitialization(M);

// Initialize TargetLoweringObjectFile.
// Initialize TargetLoweringObjectFile since we didn't do in
// AsmPrinter::doInitialization either right above or where it's commented out
// below.
const_cast<TargetLoweringObjectFile &>(getObjFileLowering())
.Initialize(OutContext, TM);

Expand Down

0 comments on commit cfc9fcc

Please sign in to comment.