Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index be31e7c8e8882e6f482031b69ced1b5c010fedbf..8d1b45fa3054a270196d8b31d93936f8d505f82b 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.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); |
} |