Chromium Code Reviews| Index: src/ia32/lithium-ia32.cc |
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
| index c73d073406c8bda37658f5cf10e6230960a00d9b..6c10138c2077ab42106167c4ad446ceb523e1980 100644 |
| --- a/src/ia32/lithium-ia32.cc |
| +++ b/src/ia32/lithium-ia32.cc |
| @@ -1400,6 +1400,7 @@ LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { |
| LOperand* function = UseFixed(instr->function(), edi); |
| argument_count_ -= instr->argument_count(); |
| LCallFunction* result = new(zone()) LCallFunction(context, function); |
| + if (instr->IsTailCall()) return DefineFixed(result, eax); |
|
danno
2013/10/11 16:13:24
nit: I think I would it better if you did:
LInstr
Toon Verwaest
2013/11/04 13:59:44
Done.
|
| return MarkAsCall(DefineFixed(result, eax), instr); |
| } |