summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWesley Peck <peckw@wesleypeck.com>2011-01-05 17:01:57 +0000
committerWesley Peck <peckw@wesleypeck.com>2011-01-05 17:01:57 +0000
commit164e67705ae4addda81d298b75fd4577efa112a8 (patch)
tree4678e38ec2948ee428d08420f248e56d766e6f8c
parent42368cc15f276100f182c727f159db5d72c017a2 (diff)
downloadbcm5719-llvm-164e67705ae4addda81d298b75fd4577efa112a8.tar.gz
bcm5719-llvm-164e67705ae4addda81d298b75fd4577efa112a8.zip
Fix small bug in setDebugInfoAvailability.
llvm-svn: 122886
-rw-r--r--llvm/include/llvm/CodeGen/MachineModuleInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfo.h b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
index 9ea27b4b027..6bc80b099fd 100644
--- a/llvm/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/llvm/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; }
OpenPOWER on IntegriCloud