aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Alpha
diff options
context:
space:
mode:
authorDan Gohman <djg@cray.com>2007-07-25 19:33:14 +0000
committerDan Gohman <djg@cray.com>2007-07-25 19:33:14 +0000
commit4a558a338dad938df33a3286eac0c64017fbcc38 (patch)
tree7b8801b5f072afa994cfed1e3b3f67c642774457 /lib/Target/Alpha
parent7c2e99c7dce12a5256f3611d5f12aad91db3d571 (diff)
downloadexternal_llvm-4a558a338dad938df33a3286eac0c64017fbcc38.zip
external_llvm-4a558a338dad938df33a3286eac0c64017fbcc38.tar.gz
external_llvm-4a558a338dad938df33a3286eac0c64017fbcc38.tar.bz2
Don't ignore the return value of AsmPrinter::doInitialization and
AsmPrinter::doFinalization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha')
-rw-r--r--lib/Target/Alpha/AlphaAsmPrinter.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Target/Alpha/AlphaAsmPrinter.cpp b/lib/Target/Alpha/AlphaAsmPrinter.cpp
index 0494777..412f282 100644
--- a/lib/Target/Alpha/AlphaAsmPrinter.cpp
+++ b/lib/Target/Alpha/AlphaAsmPrinter.cpp
@@ -198,8 +198,7 @@ bool AlphaAsmPrinter::doInitialization(Module &M)
else
O << "\t.arch ev6\n";
O << "\t.set noat\n";
- AsmPrinter::doInitialization(M);
- return false;
+ return AsmPrinter::doInitialization(M);
}
bool AlphaAsmPrinter::doFinalization(Module &M) {
@@ -271,8 +270,7 @@ bool AlphaAsmPrinter::doFinalization(Module &M) {
O << '\n';
}
- AsmPrinter::doFinalization(M);
- return false;
+ return AsmPrinter::doFinalization(M);
}
/// PrintAsmOperand - Print out an operand for an inline asm expression.