Index: src/x64/lithium-x64.cc |
=================================================================== |
--- src/x64/lithium-x64.cc (revision 7622) |
+++ src/x64/lithium-x64.cc (working copy) |
@@ -302,6 +302,13 @@ |
} |
+void LInvokeFunction::PrintDataTo(StringStream* stream) { |
+ stream->Add("= "); |
+ InputAt(0)->PrintTo(stream); |
+ stream->Add(" #%d / ", arity()); |
+} |
+ |
+ |
void LCallKeyed::PrintDataTo(StringStream* stream) { |
stream->Add("[rcx] #%d / ", arity()); |
} |
@@ -1210,6 +1217,14 @@ |
} |
+LInstruction* LChunkBuilder::DoInvokeFunction(HInvokeFunction* instr) { |
+ LOperand* function = UseFixed(instr->function(), rdi); |
+ argument_count_ -= instr->argument_count(); |
+ LInvokeFunction* result = new LInvokeFunction(function); |
+ return MarkAsCall(DefineFixed(result, rax), instr, CANNOT_DEOPTIMIZE_EAGERLY); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) { |
BuiltinFunctionId op = instr->op(); |
if (op == kMathLog || op == kMathSin || op == kMathCos) { |