| Index: src/compiler/ppc/instruction-selector-ppc.cc
|
| diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc
|
| index 648db4a36573c2618b75f46af736d26f3537c95a..bf0e1ba6a043766287df0db1ea617bedd072422f 100644
|
| --- a/src/compiler/ppc/instruction-selector-ppc.cc
|
| +++ b/src/compiler/ppc/instruction-selector-ppc.cc
|
| @@ -1611,9 +1611,9 @@ void InstructionSelector::VisitFloat64LessThanOrEqual(Node* node) {
|
| }
|
|
|
|
|
| -void InstructionSelector::EmitPrepareArguments(NodeVector* arguments,
|
| - const CallDescriptor* descriptor,
|
| - Node* node) {
|
| +void InstructionSelector::EmitPrepareArguments(
|
| + ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor,
|
| + Node* node) {
|
| PPCOperandGenerator g(this);
|
|
|
| // Prepare for C function call.
|
| @@ -1624,8 +1624,8 @@ void InstructionSelector::EmitPrepareArguments(NodeVector* arguments,
|
|
|
| // Poke any stack arguments.
|
| int slot = kStackFrameExtraParamSlot;
|
| - for (Node* node : (*arguments)) {
|
| - Emit(kPPC_StoreToStackSlot, g.NoOutput(), g.UseRegister(node),
|
| + for (PushParameter input : (*arguments)) {
|
| + Emit(kPPC_StoreToStackSlot, g.NoOutput(), g.UseRegister(input.node()),
|
| g.TempImmediate(slot));
|
| ++slot;
|
| }
|
| @@ -1633,15 +1633,15 @@ void InstructionSelector::EmitPrepareArguments(NodeVector* arguments,
|
| // Push any stack arguments.
|
| int num_slots = static_cast<int>(descriptor->StackParameterCount());
|
| int slot = 0;
|
| - for (Node* input : (*arguments)) {
|
| + for (PushParameter input : (*arguments)) {
|
| if (slot == 0) {
|
| - DCHECK(input);
|
| - Emit(kPPC_PushFrame, g.NoOutput(), g.UseRegister(input),
|
| + DCHECK(input.node());
|
| + Emit(kPPC_PushFrame, g.NoOutput(), g.UseRegister(input.node()),
|
| g.TempImmediate(num_slots));
|
| } else {
|
| // Skip any alignment holes in pushed nodes.
|
| - if (input) {
|
| - Emit(kPPC_StoreToStackSlot, g.NoOutput(), g.UseRegister(input),
|
| + if (input.node()) {
|
| + Emit(kPPC_StoreToStackSlot, g.NoOutput(), g.UseRegister(input.node()),
|
| g.TempImmediate(slot));
|
| }
|
| }
|
|
|