Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 580d53bd07e5ba7015f17ea1b941e77c8edfe6df..b8b05f2fd6dd0467bbf4d5e2c966ee70da22e02e 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2174,7 +2174,8 @@ LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) { |
HEnvironment* inner = outer->CopyForInlining(instr->closure(), |
instr->function(), |
HEnvironment::LITHIUM, |
- undefined); |
+ undefined, |
+ instr->call_kind()); |
current_block_->UpdateEnvironment(inner); |
chunk_->AddInlinedClosure(instr->closure()); |
return NULL; |