Register pop order bug only surfaced after vector-ic optimization
in https://codereview.chromium.org/
1053843003 was landed.
TEST=mjsunit/string-index.js
BUG=
Review URL: https://codereview.chromium.org/
1074123004
Cr-Commit-Position: refs/heads/master@{#27894}
// have a chance to overwrite it.
__ Move(index_, v0);
if (FLAG_vector_ics && embed_mode == PART_OF_IC_HANDLER) {
- __ Pop(VectorLoadICDescriptor::SlotRegister(),
- VectorLoadICDescriptor::VectorRegister(), object_);
+ __ Pop(VectorLoadICDescriptor::VectorRegister(),
+ VectorLoadICDescriptor::SlotRegister(), object_);
} else {
__ pop(object_);
}
__ Move(index_, v0);
if (FLAG_vector_ics && embed_mode == PART_OF_IC_HANDLER) {
- __ Pop(VectorLoadICDescriptor::SlotRegister(),
- VectorLoadICDescriptor::VectorRegister(), object_);
+ __ Pop(VectorLoadICDescriptor::VectorRegister(),
+ VectorLoadICDescriptor::SlotRegister(), object_);
} else {
__ pop(object_);
}