| Index: src/ppc/macro-assembler-ppc.cc
|
| diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc
|
| index 9b8f69f4973d0eed8620ae7cb3328c9fc8ae1792..7cc581cbe2f21cb9029b673117b91bb8c6f65338 100644
|
| --- a/src/ppc/macro-assembler-ppc.cc
|
| +++ b/src/ppc/macro-assembler-ppc.cc
|
| @@ -988,10 +988,10 @@ void MacroAssembler::InvokePrologue(const ParameterCount& expected,
|
|
|
| if (expected.is_immediate()) {
|
| DCHECK(actual.is_immediate());
|
| + mov(r3, Operand(actual.immediate()));
|
| if (expected.immediate() == actual.immediate()) {
|
| definitely_matches = true;
|
| } else {
|
| - mov(r3, Operand(actual.immediate()));
|
| const int sentinel = SharedFunctionInfo::kDontAdaptArgumentsSentinel;
|
| if (expected.immediate() == sentinel) {
|
| // Don't worry about adapting arguments for builtins that
|
| @@ -1006,9 +1006,9 @@ void MacroAssembler::InvokePrologue(const ParameterCount& expected,
|
| }
|
| } else {
|
| if (actual.is_immediate()) {
|
| + mov(r3, Operand(actual.immediate()));
|
| cmpi(expected.reg(), Operand(actual.immediate()));
|
| beq(®ular_invoke);
|
| - mov(r3, Operand(actual.immediate()));
|
| } else {
|
| cmp(expected.reg(), actual.reg());
|
| beq(®ular_invoke);
|
|
|