| Index: src/mips64/lithium-mips64.cc
|
| diff --git a/src/mips64/lithium-mips64.cc b/src/mips64/lithium-mips64.cc
|
| index f78cb9314ba0ed99ea718ded9c66f0606382b49d..1e48881a068c8335e06ff4498b60808b3c1dcdcf 100644
|
| --- a/src/mips64/lithium-mips64.cc
|
| +++ b/src/mips64/lithium-mips64.cc
|
| @@ -262,6 +262,20 @@ void LInnerAllocatedObject::PrintDataTo(StringStream* stream) {
|
| }
|
|
|
|
|
| +void LCallFunction::PrintDataTo(StringStream* stream) {
|
| + context()->PrintTo(stream);
|
| + stream->Add(" ");
|
| + function()->PrintTo(stream);
|
| + if (hydrogen()->HasVectorAndSlot()) {
|
| + stream->Add(" (type-feedback-vector ");
|
| + temp_vector()->PrintTo(stream);
|
| + stream->Add(" ");
|
| + temp_slot()->PrintTo(stream);
|
| + stream->Add(")");
|
| + }
|
| +}
|
| +
|
| +
|
| void LCallJSFunction::PrintDataTo(StringStream* stream) {
|
| stream->Add("= ");
|
| function()->PrintTo(stream);
|
| @@ -1251,7 +1265,15 @@ LInstruction* LChunkBuilder::DoCallNewArray(HCallNewArray* instr) {
|
| LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| LOperand* function = UseFixed(instr->function(), a1);
|
| - LCallFunction* call = new(zone()) LCallFunction(context, function);
|
| + LOperand* slot = NULL;
|
| + LOperand* vector = NULL;
|
| + if (instr->HasVectorAndSlot()) {
|
| + slot = FixedTemp(a3);
|
| + vector = FixedTemp(a2);
|
| + }
|
| +
|
| + LCallFunction* call =
|
| + new (zone()) LCallFunction(context, function, slot, vector);
|
| return MarkAsCall(DefineFixed(call, v0), instr);
|
| }
|
|
|
|
|