mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-10 06:25:01 +00:00
really fix an off-by-one error
llvm-svn: 96845
This commit is contained in:
parent
ac4672fba5
commit
49b1b721fc
@ -137,7 +137,7 @@ static unsigned EmitVBRValue(unsigned Val, raw_ostream &OS) {
|
||||
|
||||
unsigned InVal = Val;
|
||||
unsigned NumBytes = 0;
|
||||
while (Val > 128) {
|
||||
while (Val >= 128) {
|
||||
OS << (Val&127) << "|128,";
|
||||
Val >>= 7;
|
||||
++NumBytes;
|
||||
|
Loading…
x
Reference in New Issue
Block a user