projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7660252
)
Added code that ensures that we pass the beginning of the data buffer to
author
John Criswell
<criswell@uiuc.edu>
Tue, 23 Sep 2003 21:19:11 +0000
(21:19 +0000)
committer
John Criswell
<criswell@uiuc.edu>
Tue, 23 Sep 2003 21:19:11 +0000
(21:19 +0000)
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
lib/Bytecode/Reader/ReaderWrappers.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Reader/ReaderWrappers.cpp
b/lib/Bytecode/Reader/ReaderWrappers.cpp
index aa6268ee257e3af4c029e55e7d81ee4e64c680b0..ecdb16d363fe9fee5bc3d8f269dd6562731ee49c 100644
(file)
--- a/
lib/Bytecode/Reader/ReaderWrappers.cpp
+++ b/
lib/Bytecode/Reader/ReaderWrappers.cpp
@@
-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;
}