diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-02-06 21:30:37 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-02-06 21:30:37 +0000 |
commit | 7c49a0e9e368b49461757b5c2d97044c920c1387 (patch) | |
tree | 7a410aed53aed67b6f23ffcad473942cd5e96b82 /llvm/lib/Bitcode/Writer | |
parent | 7e2863b4160a64721a060fbb40f10ea46586436a (diff) | |
download | bcm5719-llvm-7c49a0e9e368b49461757b5c2d97044c920c1387.tar.gz bcm5719-llvm-7c49a0e9e368b49461757b5c2d97044c920c1387.zip |
[unwind removal] Don't write out the dead 'unwind' instruction.
llvm-svn: 149905
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 475bb526f9a..0e2f0ec783c 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -1184,9 +1184,6 @@ static void WriteInstruction(const Instruction &I, unsigned InstID, Code = bitc::FUNC_CODE_INST_RESUME; PushValueAndType(I.getOperand(0), InstID, Vals, VE); break; - case Instruction::Unwind: - Code = bitc::FUNC_CODE_INST_UNWIND; - break; case Instruction::Unreachable: Code = bitc::FUNC_CODE_INST_UNREACHABLE; AbbrevToUse = FUNCTION_INST_UNREACHABLE_ABBREV; |