[llvm-commits] [llvm] r122886 - /llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h

Wesley Peck peckw at wesleypeck.com
Wed Jan 5 09:01:57 PST 2011


Author: peckw
Date: Wed Jan  5 11:01:57 2011
New Revision: 122886

URL: http://llvm.org/viewvc/llvm-project?rev=122886&view=rev
Log:
Fix small bug in setDebugInfoAvailability.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h?rev=122886&r1=122885&r2=122886&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h Wed Jan  5 11:01:57 2011
@@ -209,7 +209,7 @@
   /// hasDebugInfo - Returns true if valid debug info is present.
   ///
   bool hasDebugInfo() const { return DbgInfoAvailable; }
-  void setDebugInfoAvailability(bool avail) { DbgInfoAvailable = true; }
+  void setDebugInfoAvailability(bool avail) { DbgInfoAvailable = avail; }
 
   bool callsEHReturn() const { return CallsEHReturn; }
   void setCallsEHReturn(bool b) { CallsEHReturn = b; }





More information about the llvm-commits mailing list