Commit 14524a20 authored by Richard Townsend's avatar Richard Townsend Committed by Commit Bot

[arm64][msvc] fix another unsigned shift error in the tests

Bug: v8:10012
Change-Id: I8d2d95090bd45c560cbc208737f037adc433facb
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2072741Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Richard Townsend <richard.townsend@arm.com>
Cr-Commit-Position: refs/heads/master@{#66458}
parent 1f35c165
......@@ -3028,7 +3028,7 @@ void Builtins::Generate_WasmDebugBreak(MacroAssembler* masm) {
// size is a multiple of 16 bytes.
if (NumRegs(gp_regs) % 2) {
// Just add any unset register.
gp_regs |= 1 << base::bits::CountTrailingZeros(~gp_regs);
gp_regs |= uint64_t{1} << base::bits::CountTrailingZeros(~gp_regs);
}
RegList fp_regs = 0;
for (DoubleRegister reg : wasm::kFpParamRegisters) fp_regs |= reg.bit();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment