| Index: src/ppc/macro-assembler-ppc.cc
|
| diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc
|
| index 3c80610b10ad684f8a6bc950915208c549ce498b..976290baa2b5191bf350213b5d021addd91e942c 100644
|
| --- a/src/ppc/macro-assembler-ppc.cc
|
| +++ b/src/ppc/macro-assembler-ppc.cc
|
| @@ -176,26 +176,13 @@ void MacroAssembler::Call(Handle<Code> code, RelocInfo::Mode rmode,
|
| }
|
|
|
|
|
| -void MacroAssembler::Ret(Condition cond) {
|
| - DCHECK(cond == al);
|
| - blr();
|
| -}
|
| -
|
| -
|
| -void MacroAssembler::Drop(int count, Condition cond) {
|
| - DCHECK(cond == al);
|
| +void MacroAssembler::Drop(int count) {
|
| if (count > 0) {
|
| Add(sp, sp, count * kPointerSize, r0);
|
| }
|
| }
|
|
|
|
|
| -void MacroAssembler::Ret(int drop, Condition cond) {
|
| - Drop(drop, cond);
|
| - Ret(cond);
|
| -}
|
| -
|
| -
|
| void MacroAssembler::Call(Label* target) { b(target, SetLK); }
|
|
|
|
|
| @@ -497,7 +484,7 @@ void MacroAssembler::RememberedSetHelper(Register object, // For debug tests.
|
| beq(&done, cr0);
|
| } else {
|
| DCHECK(and_then == kReturnAtEnd);
|
| - beq(&done, cr0);
|
| + Ret(eq, cr0);
|
| }
|
| mflr(r0);
|
| push(r0);
|
|
|