mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 00:14:20 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44124 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a4f91ea18
commit
233b60eced
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user