Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index b327773fc38994770e609e2ec07519a689aa37d3..c3c3367b10937d9b8223f8db099d81300733c8ac 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -3031,9 +3031,7 @@ void CallApiCallbackStub::Generate(MacroAssembler* masm) { |
__ Ldr(context, FieldMemOperand(callee, JSFunction::kContextOffset)); |
} |
- if (!call_data_undefined()) { |
- __ LoadRoot(call_data, Heap::kUndefinedValueRootIndex); |
- } |
+ __ LoadRoot(call_data, Heap::kUndefinedValueRootIndex); |
Register isolate_reg = x5; |
__ Mov(isolate_reg, ExternalReference::isolate_address(masm->isolate())); |