MIPS: Updates to maintain flag --vector-ics
Port r24458 (18af11b) Original commit message: Experimental feature vector-ics needs some maintenance. BUG= R=dusan.milosavljevic@imgtec.com Review URL: https://codereview.chromium.org/636163002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24467 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
9bbf788750
commit
e86626ed40
@ -190,7 +190,11 @@ void DebugCodegen::GenerateCallICStubDebugBreak(MacroAssembler* masm) {
|
||||
void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) {
|
||||
Register receiver = LoadDescriptor::ReceiverRegister();
|
||||
Register name = LoadDescriptor::NameRegister();
|
||||
Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0);
|
||||
RegList regs = receiver.bit() | name.bit();
|
||||
if (FLAG_vector_ics) {
|
||||
regs |= VectorLoadICTrampolineDescriptor::SlotRegister().bit();
|
||||
}
|
||||
Generate_DebugBreakCallHelper(masm, regs, 0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -1346,7 +1346,13 @@ void FullCodeGenerator::EmitLoadHomeObject(SuperReference* expr) {
|
||||
Handle<Symbol> home_object_symbol(isolate()->heap()->home_object_symbol());
|
||||
__ li(LoadDescriptor::NameRegister(), home_object_symbol);
|
||||
|
||||
CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId());
|
||||
if (FLAG_vector_ics) {
|
||||
__ li(VectorLoadICDescriptor::SlotRegister(),
|
||||
Operand(Smi::FromInt(expr->HomeObjectFeedbackSlot())));
|
||||
CallLoadIC(NOT_CONTEXTUAL);
|
||||
} else {
|
||||
CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId());
|
||||
}
|
||||
|
||||
Label done;
|
||||
__ Branch(&done, ne, v0, Operand(isolate()->factory()->undefined_value()));
|
||||
|
Loading…
Reference in New Issue
Block a user