aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/Reader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-26 14:44:52 +0000
committerChris Lattner <sabre@nondot.org>2003-09-26 14:44:52 +0000
commitb0b7c0d28c7422d01bffe7b8984333b5b883a539 (patch)
treebed2f2bdb54febaaef70d037a437303d721eb07e /lib/Bytecode/Reader/Reader.cpp
parentaecbd278feaa8c2a584e0a23879d7f60946c104b (diff)
Just rethrow previous exception instead of making a new one
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/Reader.cpp')
-rw-r--r--lib/Bytecode/Reader/Reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp
index 067b70b806..c69e680be2 100644
--- a/lib/Bytecode/Reader/Reader.cpp
+++ b/lib/Bytecode/Reader/Reader.cpp
@@ -654,6 +654,6 @@ BytecodeParser::ParseBytecode(const unsigned char *Buf, unsigned Length,
freeState(); // Must destroy handles before deleting module!
delete TheModule;
TheModule = 0;
- throw Error;
+ throw;
}
}