[llvm-commits] [llvm] r145705 - /llvm/trunk/include/llvm/Target/TargetMachine.h

Dylan Noblesmith nobled at dreamwidth.org
Fri Dec 2 12:53:57 PST 2011


Author: nobled
Date: Fri Dec  2 14:53:57 2011
New Revision: 145705

URL: http://llvm.org/viewvc/llvm-project?rev=145705&view=rev
Log:
TargetMachine: document unnamed bool argument

Its meaning was slightly mysterious without looking at
subclasses.

Modified:
    llvm/trunk/include/llvm/Target/TargetMachine.h

Modified: llvm/trunk/include/llvm/Target/TargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetMachine.h?rev=145705&r1=145704&r2=145705&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetMachine.h (original)
+++ llvm/trunk/include/llvm/Target/TargetMachine.h Fri Dec  2 14:53:57 2011
@@ -249,7 +249,7 @@
   virtual bool addPassesToEmitFile(PassManagerBase &,
                                    formatted_raw_ostream &,
                                    CodeGenFileType,
-                                   bool = true) {
+                                   bool /*DisableVerify*/ = true) {
     return true;
   }
 
@@ -261,7 +261,7 @@
   ///
   virtual bool addPassesToEmitMachineCode(PassManagerBase &,
                                           JITCodeEmitter &,
-                                          bool = true) {
+                                          bool /*DisableVerify*/ = true) {
     return true;
   }
 
@@ -273,7 +273,7 @@
   virtual bool addPassesToEmitMC(PassManagerBase &,
                                  MCContext *&,
                                  raw_ostream &,
-                                 bool = true) {
+                                 bool /*DisableVerify*/ = true) {
     return true;
   }
 };





More information about the llvm-commits mailing list