Index: src/compiler/mips/code-generator-mips.cc |
diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc |
index 12d3e75a05e193f874cc01e6babdebd79559d731..56c35287d39002cdacd29e79d4faeeb6d0457338 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -639,20 +639,16 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
frame_access_state()->SetFrameAccessToDefault(); |
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. |
__ lw(kScratchReg, FieldMemOperand(func, JSFunction::kContextOffset)); |
__ Assert(eq, kWrongFunctionContext, cp, Operand(kScratchReg)); |
} |
- |
- if (arch_opcode == kArchTailCallJSFunctionFromJSFunction) { |
- AssemblePopArgumentsAdaptorFrame(kJavaScriptCallArgCountRegister, |
- i.TempRegister(0), i.TempRegister(1), |
- i.TempRegister(2)); |
- } |
+ AssemblePopArgumentsAdaptorFrame(kJavaScriptCallArgCountRegister, |
+ i.TempRegister(0), i.TempRegister(1), |
+ i.TempRegister(2)); |
__ lw(at, FieldMemOperand(func, JSFunction::kCodeEntryOffset)); |
__ Jump(at); |
frame_access_state()->ClearSPDelta(); |