Index: src/arm64/lithium-arm64.cc |
diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc |
index d667f719e89138ab3d1ce07808867eefe8a533d4..0234fcddca7596f9b76dff732faaa572fbc03285 100644 |
--- a/src/arm64/lithium-arm64.cc |
+++ b/src/arm64/lithium-arm64.cc |
@@ -142,6 +142,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 LInvokeFunction::PrintDataTo(StringStream* stream) { |
stream->Add("= "); |
function()->PrintTo(stream); |
@@ -1053,7 +1067,15 @@ LInstruction* LChunkBuilder::DoCallWithDescriptor( |
LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { |
LOperand* context = UseFixed(instr->context(), cp); |
LOperand* function = UseFixed(instr->function(), x1); |
- LCallFunction* call = new(zone()) LCallFunction(context, function); |
+ LOperand* slot = NULL; |
+ LOperand* vector = NULL; |
+ if (instr->HasVectorAndSlot()) { |
+ slot = FixedTemp(x3); |
+ vector = FixedTemp(x2); |
+ } |
+ |
+ LCallFunction* call = |
+ new (zone()) LCallFunction(context, function, slot, vector); |
return MarkAsCall(DefineFixed(call, x0), instr); |
} |