| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 1481f63969e3f279e2f0a3078a891d3cfa9666bd..ad159080e5a6426608a662cef6c7a6d1fcc047a8 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -11496,7 +11496,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;
|
| }
|
|
|