MIPS: Fix r19500 register usage to match to ASSERT.
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
This commit is contained in:
parent
1578cfee1d
commit
71bfbf490d
@ -1384,12 +1384,12 @@ Handle<Code> BaseLoadStoreStubCompiler::CompilePolymorphicIC(
|
||||
}
|
||||
|
||||
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()));
|
||||
|
||||
|
@ -1385,12 +1385,12 @@ Handle<Code> BaseLoadStoreStubCompiler::CompilePolymorphicIC(
|
||||
}
|
||||
|
||||
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()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user