Index: src/compiler/ia32/code-generator-ia32.cc |
diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc |
index cca42fa2fd6d6a82b65d89819f3f0e17538151b5..2b8cf08cb71e81eb286fbed3009e2a33484fb48d 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -580,18 +580,15 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
frame_access_state()->ClearSPDelta(); |
break; |
} |
- case kArchTailCallJSFunctionFromJSFunction: |
- case kArchTailCallJSFunction: { |
+ case kArchTailCallJSFunctionFromJSFunction: { |
Register func = i.InputRegister(0); |
if (FLAG_debug_code) { |
// Check the function's context matches the context argument. |
__ cmp(esi, FieldOperand(func, JSFunction::kContextOffset)); |
__ Assert(equal, kWrongFunctionContext); |
} |
- if (arch_opcode == kArchTailCallJSFunctionFromJSFunction) { |
- AssemblePopArgumentsAdaptorFrame(kJavaScriptCallArgCountRegister, |
- no_reg, no_reg, no_reg); |
- } |
+ AssemblePopArgumentsAdaptorFrame(kJavaScriptCallArgCountRegister, no_reg, |
+ no_reg, no_reg); |
__ jmp(FieldOperand(func, JSFunction::kCodeEntryOffset)); |
frame_access_state()->ClearSPDelta(); |
frame_access_state()->SetFrameAccessToDefault(); |