mirror of
https://github.com/dart-lang/sdk
synced 2024-10-03 00:09:20 +00:00
[vm] Make UBSAN happy for the code in Range::BitwiseOp
Change-Id: I3f3ca03a0930f9feac1e7e94cdb5c50ece8d7856 Reviewed-on: https://dart-review.googlesource.com/c/79420 Commit-Queue: Alexander Markov <alexmarkov@google.com> Commit-Queue: Siva Annamalai <asiva@google.com> Auto-Submit: Alexander Markov <alexmarkov@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>
This commit is contained in:
parent
e4c3fa0a9c
commit
6b67cd784b
|
@ -2296,7 +2296,7 @@ void Range::BitwiseOp(const Range* left_range,
|
|||
*result_min = RangeBoundary::FromConstant(0);
|
||||
} else {
|
||||
*result_min =
|
||||
RangeBoundary::FromConstant(-(static_cast<int64_t>(1) << bitsize));
|
||||
RangeBoundary::FromConstant(-(static_cast<uint64_t>(1) << bitsize));
|
||||
}
|
||||
|
||||
*result_max =
|
||||
|
|
|
@ -471,6 +471,7 @@ LibTest/io/Stdout/addStream_A01_t01: RuntimeError
|
|||
LibTest/io/Stdout/add_A02_t07: RuntimeError
|
||||
LibTest/io/WebSocket/connect_A01_t01: RuntimeError
|
||||
LibTest/io/WebSocket/connect_A01_t02: RuntimeError
|
||||
LibTest/isolate/Isolate/pause_A01_t01: Timeout, Pass
|
||||
LibTest/isolate/Isolate/pause_A01_t02: Timeout, Pass
|
||||
LibTest/isolate/Isolate/ping_A03_t01: RuntimeError, Pass
|
||||
LibTest/isolate/Isolate/ping_A03_t02: RuntimeError, Pass
|
||||
|
|
Loading…
Reference in a new issue