Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 13438cfadeb37aa37ff9ecb7d987726a2cdd92fc..c9a9f5ffa3e4156385c4697f9ff99c480eaeea0f 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -1323,11 +1323,6 @@ void JSEntryStub::Generate(MacroAssembler* masm) { |
__ Mov(jssp, csp); |
__ SetStackPointer(jssp); |
- // Configure the FPCR. We don't restore it, so this is technically not allowed |
- // according to AAPCS64. However, we only set default-NaN mode and this will |
- // be harmless for most C code. Also, it works for ARM. |
- __ ConfigureFPCR(); |
- |
ProfileEntryHookStub::MaybeCallEntryHook(masm); |
// Set up the reserved register for 0.0. |