Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index f543b186823668e6e40b5ed8b3aa37b0e4a3df6b..c417594e16dfd96d1146ac538e7212164fddd098 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -709,8 +709,7 @@ 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. |
@@ -720,11 +719,9 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
__ cmp(cp, temp); |
__ Assert(eq, kWrongFunctionContext); |
} |
- 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)); |
__ Ldr(x10, FieldMemOperand(func, JSFunction::kCodeEntryOffset)); |
__ Jump(x10); |
frame_access_state()->ClearSPDelta(); |