Commit ce524675 authored by paul.lind's avatar paul.lind Committed by Commit bot

MIPS: Use weak cells in map checks in polymorphic ICs.

Port 45a36948

Fix typo in the mips ports.

BUG=

Review URL: https://codereview.chromium.org/767623003

Cr-Commit-Position: refs/heads/master@{#25590}
parent 573401a4
......@@ -4033,7 +4033,7 @@ void MacroAssembler::LoadWeakValue(Register value, Handle<WeakCell> cell,
Label* miss) {
li(value, Operand(cell));
lw(value, FieldMemOperand(value, WeakCell::kValueOffset));
JumpIfNotSmi(value, miss);
JumpIfSmi(value, miss);
}
......
......@@ -4000,7 +4000,7 @@ void MacroAssembler::LoadWeakValue(Register value, Handle<WeakCell> cell,
Label* miss) {
li(value, Operand(cell));
ld(value, FieldMemOperand(value, WeakCell::kValueOffset));
JumpIfNotSmi(value, miss);
JumpIfSmi(value, miss);
}
......
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