aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Alpha
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-07-25 19:33:14 +0000
committerDan Gohman <gohman@apple.com>2007-07-25 19:33:14 +0000
commitb8275a3f6f6497889653cb2452d82a46f92b4926 (patch)
tree7b8801b5f072afa994cfed1e3b3f67c642774457 /lib/Target/Alpha
parent6899b314225dd5fa5ccc2a5692daaa89c1d623d8 (diff)
downloadexternal_llvm-b8275a3f6f6497889653cb2452d82a46f92b4926.zip
external_llvm-b8275a3f6f6497889653cb2452d82a46f92b4926.tar.gz
external_llvm-b8275a3f6f6497889653cb2452d82a46f92b4926.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.