Skip to content

Commit 89cd5f0

Browse files
author
Wesley Peck
committed
Fix small bug in setDebugInfoAvailability.
llvm-svn: 122886
1 parent a340387 commit 89cd5f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/CodeGen/MachineModuleInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class MachineModuleInfo : public ImmutablePass {
209209
/// hasDebugInfo - Returns true if valid debug info is present.
210210
///
211211
bool hasDebugInfo() const { return DbgInfoAvailable; }
212-
void setDebugInfoAvailability(bool avail) { DbgInfoAvailable = true; }
212+
void setDebugInfoAvailability(bool avail) { DbgInfoAvailable = avail; }
213213

214214
bool callsEHReturn() const { return CallsEHReturn; }
215215
void setCallsEHReturn(bool b) { CallsEHReturn = b; }

0 commit comments

Comments
 (0)