Added code that ensures that we pass the beginning of the data buffer to

the parsing routines regardless of whether the buffer is re-aligned or not.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8693 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John Criswell 2003-09-23 21:19:11 +00:00
parent 76602528ec
commit 4dcbd5e9a2

View File

@ -106,7 +106,7 @@ BytecodeBufferReader::BytecodeBufferReader(const unsigned char *Buf,
MustDelete = true;
} else {
// If we don't need to copy it over, just use the caller's copy
Buffer = Buf;
ParseBegin = Buffer = Buf;
Length = Len;
MustDelete = false;
}