diff options
author | Dan Gohman <gohman@apple.com> | 2007-07-25 19:33:14 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-07-25 19:33:14 +0000 |
commit | b8275a3f6f6497889653cb2452d82a46f92b4926 (patch) | |
tree | 7b8801b5f072afa994cfed1e3b3f67c642774457 /lib/Target/Alpha | |
parent | 6899b314225dd5fa5ccc2a5692daaa89c1d623d8 (diff) | |
download | external_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.cpp | 6 |
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. |