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:
Ivica Bogosavljevic 2018-11-08 09:32:39 +01:00 committed by Commit Bot
parent a724a3a334
commit 20affe107e

View File

@ -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));
}