| Index: src/compiler/x87/instruction-selector-x87.cc
|
| diff --git a/src/compiler/x87/instruction-selector-x87.cc b/src/compiler/x87/instruction-selector-x87.cc
|
| index 04a7d5a09af40ebb8787c354b7e702ceaee64654..446969c664eaf9839ad81bdbe625a8daa4d85f5b 100644
|
| --- a/src/compiler/x87/instruction-selector-x87.cc
|
| +++ b/src/compiler/x87/instruction-selector-x87.cc
|
| @@ -856,7 +856,10 @@ void InstructionSelector::VisitCall(Node* node, BasicBlock* handler) {
|
| InstructionOperand value =
|
| g.CanBeImmediate(input)
|
| ? g.UseImmediate(input)
|
| - : IsSupported(ATOM) ? g.UseRegister(input) : g.Use(input);
|
| + : IsSupported(ATOM) ||
|
| + sequence()->IsFloat(GetVirtualRegister(input))
|
| + ? g.UseRegister(input)
|
| + : g.Use(input);
|
| Emit(kX87Push, g.NoOutput(), value);
|
| }
|
| }
|
|
|