MIPS64: Fix [ptr-compr] Make cleared weak reference value pointer compression friendly
Fix 4001f86afa
Change-Id: I8392c1c6c279b51c64d1052992d836939c84ec55
Reviewed-on: https://chromium-review.googlesource.com/c/1325377
Reviewed-by: Marja Hölttä <marja@chromium.org>
Commit-Queue: Ivica Bogosavljevic <ibogosavljevic@wavecomp.com>
Cr-Commit-Position: refs/heads/master@{#57346}
This commit is contained in:
parent
a724a3a334
commit
20affe107e
@ -4990,7 +4990,7 @@ void MacroAssembler::JumpToInstructionStream(Address entry) {
|
||||
|
||||
void MacroAssembler::LoadWeakValue(Register out, Register in,
|
||||
Label* target_if_cleared) {
|
||||
Branch(target_if_cleared, eq, in.W(), Operand(kClearedWeakHeapObjectLower32));
|
||||
Branch(target_if_cleared, eq, in, Operand(kClearedWeakHeapObjectLower32));
|
||||
|
||||
And(out, in, Operand(~kWeakHeapObjectMask));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user