| Index: src/compiler/instruction-selector.cc
|
| diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc
|
| index eac5571e9c4b8ae1424aab36d9690efb941a5db0..46c6ecbb35ccd3ed13798753b43972ab19193078 100644
|
| --- a/src/compiler/instruction-selector.cc
|
| +++ b/src/compiler/instruction-selector.cc
|
| @@ -1082,9 +1082,15 @@ void InstructionSelector::VisitGuard(Node* node) {
|
| void InstructionSelector::VisitParameter(Node* node) {
|
| OperandGenerator g(this);
|
| int index = ParameterIndexOf(node->op());
|
| - Emit(kArchNop,
|
| - g.DefineAsLocation(node, linkage()->GetParameterLocation(index),
|
| - linkage()->GetParameterType(index)));
|
| + InstructionOperand op =
|
| + linkage()->ParameterHasSecondaryLocation(index)
|
| + ? g.DefineAsDualLocation(
|
| + node, linkage()->GetParameterLocation(index),
|
| + linkage()->GetParameterSecondaryLocation(index))
|
| + : g.DefineAsLocation(node, linkage()->GetParameterLocation(index),
|
| + linkage()->GetParameterType(index));
|
| +
|
| + Emit(kArchNop, op);
|
| }
|
|
|
|
|
|
|