| Index: src/ppc/macro-assembler-ppc.h
|
| diff --git a/src/ppc/macro-assembler-ppc.h b/src/ppc/macro-assembler-ppc.h
|
| index e830be9111f2fd8c78ebecc2251149ae5e736edc..f13184c5e34cc5e3cc009ce9c48ad94aa6c05d96 100644
|
| --- a/src/ppc/macro-assembler-ppc.h
|
| +++ b/src/ppc/macro-assembler-ppc.h
|
| @@ -127,13 +127,17 @@ class MacroAssembler : public Assembler {
|
| void Call(Handle<Code> code, RelocInfo::Mode rmode = RelocInfo::CODE_TARGET,
|
| TypeFeedbackId ast_id = TypeFeedbackId::None(),
|
| Condition cond = al);
|
| - void Ret(Condition cond = al);
|
| + void Ret() { blr(); }
|
| + void Ret(Condition cond, CRegister cr = cr7) { bclr(cond, cr); }
|
|
|
| // Emit code to discard a non-negative number of pointer-sized elements
|
| // from the stack, clobbering only the sp register.
|
| - void Drop(int count, Condition cond = al);
|
| + void Drop(int count);
|
|
|
| - void Ret(int drop, Condition cond = al);
|
| + void Ret(int drop) {
|
| + Drop(drop);
|
| + blr();
|
| + }
|
|
|
| void Call(Label* target);
|
|
|
|
|