Fix a problem introduced by a last-minute change (logic negation).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31302 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-10-30 23:34:32 +00:00
parent 1d75400e2e
commit 0de0c5da42

View File

@ -2627,7 +2627,7 @@ void Dwarf::EmitDebugLines() const {
/// EmitInitialDebugFrame - Emit common frame info into a debug frame section.
///
void Dwarf::EmitInitialDebugFrame() {
if (TAI->getDwarfRequiresFrameSection())
if (!TAI->getDwarfRequiresFrameSection())
return;
int stackGrowth =
@ -2665,7 +2665,7 @@ void Dwarf::EmitInitialDebugFrame() {
/// EmitFunctionDebugFrame - Emit per function frame info into a debug frame
/// section.
void Dwarf::EmitFunctionDebugFrame() {
if (TAI->getDwarfRequiresFrameSection())
if (!TAI->getDwarfRequiresFrameSection())
return;
// Start the dwarf frame section.