From: Wesley Peck Date: Wed, 5 Jan 2011 17:01:57 +0000 (+0000) Subject: Fix small bug in setDebugInfoAvailability. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=4351bfbd4d4a2f383b4860016da14ce40b0278f9;p=oota-llvm.git Fix small bug in setDebugInfoAvailability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122886 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index 9ea27b4b027..6bc80b099fd 100644 --- a/include/llvm/CodeGen/MachineModuleInfo.h +++ b/include/llvm/CodeGen/MachineModuleInfo.h @@ -209,7 +209,7 @@ public: /// 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; }