diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-11-01 01:27:45 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-11-01 01:27:45 +0000 |
| commit | aa99c94e2a75e86381bcc45de61c11725a1484d6 (patch) | |
| tree | 5ebc881e76d6c5d15bc2a8240caa9c274da1a3ce /llvm/lib/VMCore/AsmWriter.cpp | |
| parent | 6f29ad917051349b99d566ddf57add7c60489094 (diff) | |
| download | bcm5719-llvm-aa99c94e2a75e86381bcc45de61c11725a1484d6.tar.gz bcm5719-llvm-aa99c94e2a75e86381bcc45de61c11725a1484d6.zip | |
Revert 85678/85680. The decision is to stay with the current form of
indirectbr, thus we don't need "blockaddr(@func, null)". Eliminate it
for simplicity.
llvm-svn: 85699
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
| -rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index df1d19b0fcf..9a803a16628 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/lib/VMCore/AsmWriter.cpp @@ -1065,10 +1065,7 @@ static void WriteConstantInt(raw_ostream &Out, const Constant *CV, Out << "blockaddress("; WriteAsOperandInternal(Out, BA->getFunction(), &TypePrinter, Machine); Out << ", "; - if (BA->getBasicBlock()) - WriteAsOperandInternal(Out, BA->getBasicBlock(), &TypePrinter, Machine); - else - Out << "null"; + WriteAsOperandInternal(Out, BA->getBasicBlock(), &TypePrinter, Machine); Out << ")"; return; } |

