BUG=
R=akos.palfi@imgtec.com
Review URL: https://codereview.chromium.org/
395863002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22412
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
}
Label number_case;
- Register match = scratch1();
+ Register match = scratch2();
Label* smi_target = IncludesNumberType(types) ? &number_case : &miss;
__ JumpIfSmi(receiver(), smi_target, match); // Reg match is 0 if Smi.
// Polymorphic keyed stores may use the map register
- Register map_reg = scratch2();
+ Register map_reg = scratch1();
ASSERT(kind() != Code::KEYED_STORE_IC ||
map_reg.is(KeyedStoreIC::MapRegister()));
}
Label number_case;
- Register match = scratch1();
+ Register match = scratch2();
Label* smi_target = IncludesNumberType(types) ? &number_case : &miss;
__ JumpIfSmi(receiver(), smi_target, match); // Reg match is 0 if Smi.
// Polymorphic keyed stores may use the map register
- Register map_reg = scratch2();
+ Register map_reg = scratch1();
ASSERT(kind() != Code::KEYED_STORE_IC ||
map_reg.is(KeyedStoreIC::MapRegister()));