mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 14:18:06 +00:00
Fix for issue 26519
BUG=26519 R=rmacnak@google.com Review URL: https://codereview.chromium.org/2238163003 .
This commit is contained in:
parent
dd731b4bfe
commit
462204e557
|
@ -11499,7 +11499,7 @@ static intptr_t DecodeSLEB128(const uint8_t* data,
|
|||
} while ((part & 0x80) != 0);
|
||||
|
||||
if ((shift < (sizeof(value) * 8)) && ((part & 0x40) != 0)) {
|
||||
value |= static_cast<intptr_t>(-1) << shift;
|
||||
value |= static_cast<intptr_t>(kUwordMax << shift);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue