[liftoff][arm] Fix overlapping of F32 and F64 registers in Liftoff

Add a check to bailout in the case when F32 parameters are used for Arm.

Bug: v8:6600, chromium:904026, chromium:904606
Change-Id: I7f70c0806994a89dca31ef7e0b68f91d68484936
Reviewed-on: https://chromium-review.googlesource.com/c/1346492
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57741}
This commit is contained in:
George Wort 2018-11-22 13:16:30 +00:00 committed by Commit Bot
parent f2d39d190c
commit 291a602973

View File

@ -1601,6 +1601,7 @@ class LiftoffCompiler {
!CheckSupportedType(decoder, kSupportedTypes, imm.sig->GetReturn(0), !CheckSupportedType(decoder, kSupportedTypes, imm.sig->GetReturn(0),
"return")) "return"))
return; return;
if (DidAssemblerBailout(decoder)) return;
auto call_descriptor = auto call_descriptor =
compiler::GetWasmCallDescriptor(compilation_zone_, imm.sig); compiler::GetWasmCallDescriptor(compilation_zone_, imm.sig);