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

Port 45a36948e1

Fix typo in the mips ports.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#25590}
This commit is contained in:
paul.lind 2014-12-01 14:26:37 -08:00 committed by Commit bot
parent 573401a422
commit ce5246756f
2 changed files with 2 additions and 2 deletions

View File

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

View File

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