1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Removed debug #define that was accidentally checked in while debugging

the deserializer.

Fixed assertion when "stream jumping" in the deserializer to properly function
when we have reached the end of the stream.

llvm-svn: 44124
This commit is contained in:
Ted Kremenek 2007-11-14 17:42:09 +00:00
parent 805a8ba9cf
commit 0daf840e56

View File

@ -13,8 +13,6 @@
#include "llvm/Bitcode/Deserialize.h"
#define DEBUG_BACKPATCH
#ifdef DEBUG_BACKPATCH
#include "llvm/Support/Streams.h"
#endif
@ -170,7 +168,7 @@ bool Deserializer::JumpTo(const Location& Loc) {
// AdvanceStream();
// assert (AbbrevNo == bitc::ENTER_SUBBLOCK);
assert (!BlockStack.empty());
assert (!BlockStack.empty() || AtEnd());
uint64_t LastBPos = StreamStart.BitNo;