| OLD | NEW | 
|---|
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "src/base/adapters.h" | 5 #include "src/base/adapters.h" | 
| 6 #include "src/compiler/instruction-selector-impl.h" | 6 #include "src/compiler/instruction-selector-impl.h" | 
| 7 #include "src/compiler/node-matchers.h" | 7 #include "src/compiler/node-matchers.h" | 
| 8 #include "src/compiler/node-properties.h" | 8 #include "src/compiler/node-properties.h" | 
| 9 | 9 | 
| 10 namespace v8 { | 10 namespace v8 { | 
| (...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1092     } | 1092     } | 
| 1093   } else { | 1093   } else { | 
| 1094     // Push any stack arguments. | 1094     // Push any stack arguments. | 
| 1095     for (PushParameter input : base::Reversed(*arguments)) { | 1095     for (PushParameter input : base::Reversed(*arguments)) { | 
| 1096       // Skip any alignment holes in pushed nodes. | 1096       // Skip any alignment holes in pushed nodes. | 
| 1097       if (input.node() == nullptr) continue; | 1097       if (input.node() == nullptr) continue; | 
| 1098       InstructionOperand value = | 1098       InstructionOperand value = | 
| 1099           g.CanBeImmediate(input.node()) | 1099           g.CanBeImmediate(input.node()) | 
| 1100               ? g.UseImmediate(input.node()) | 1100               ? g.UseImmediate(input.node()) | 
| 1101               : IsSupported(ATOM) || | 1101               : IsSupported(ATOM) || | 
| 1102                         sequence()->IsFloat(GetVirtualRegister(input.node())) | 1102                         sequence()->IsFP(GetVirtualRegister(input.node())) | 
| 1103                     ? g.UseRegister(input.node()) | 1103                     ? g.UseRegister(input.node()) | 
| 1104                     : g.Use(input.node()); | 1104                     : g.Use(input.node()); | 
| 1105       if (input.type() == MachineType::Float32()) { | 1105       if (input.type() == MachineType::Float32()) { | 
| 1106         Emit(kIA32PushFloat32, g.NoOutput(), value); | 1106         Emit(kIA32PushFloat32, g.NoOutput(), value); | 
| 1107       } else if (input.type() == MachineType::Float64()) { | 1107       } else if (input.type() == MachineType::Float64()) { | 
| 1108         Emit(kIA32PushFloat64, g.NoOutput(), value); | 1108         Emit(kIA32PushFloat64, g.NoOutput(), value); | 
| 1109       } else { | 1109       } else { | 
| 1110         Emit(kIA32Push, g.NoOutput(), value); | 1110         Emit(kIA32Push, g.NoOutput(), value); | 
| 1111       } | 1111       } | 
| 1112     } | 1112     } | 
| (...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1687              MachineOperatorBuilder::kFloat64RoundTruncate | | 1687              MachineOperatorBuilder::kFloat64RoundTruncate | | 
| 1688              MachineOperatorBuilder::kFloat32RoundTiesEven | | 1688              MachineOperatorBuilder::kFloat32RoundTiesEven | | 
| 1689              MachineOperatorBuilder::kFloat64RoundTiesEven; | 1689              MachineOperatorBuilder::kFloat64RoundTiesEven; | 
| 1690   } | 1690   } | 
| 1691   return flags; | 1691   return flags; | 
| 1692 } | 1692 } | 
| 1693 | 1693 | 
| 1694 }  // namespace compiler | 1694 }  // namespace compiler | 
| 1695 }  // namespace internal | 1695 }  // namespace internal | 
| 1696 }  // namespace v8 | 1696 }  // namespace v8 | 
| OLD | NEW | 
|---|