Index: src/ppc/regexp-macro-assembler-ppc.cc |
diff --git a/src/ppc/regexp-macro-assembler-ppc.cc b/src/ppc/regexp-macro-assembler-ppc.cc |
index 05e84e415f3a18254f94118b5723d8662a9ec000..9e4e9e5c73a8f7b8bfae8e2dd28956710526147c 100644 |
--- a/src/ppc/regexp-macro-assembler-ppc.cc |
+++ b/src/ppc/regexp-macro-assembler-ppc.cc |
@@ -171,8 +171,7 @@ void RegExpMacroAssemblerPPC::Backtrack() { |
// Pop Code* offset from backtrack stack, add Code* and jump to location. |
Pop(r3); |
__ add(r3, r3, code_pointer()); |
- __ mtctr(r3); |
- __ bctr(); |
+ __ Jump(r3); |
} |
@@ -834,8 +833,8 @@ Handle<HeapObject> RegExpMacroAssemblerPPC::GetCode(Handle<String> source) { |
// Restore registers r25..r31 and return (restoring lr to pc). |
__ MultiPop(registers_to_retain); |
__ pop(r0); |
- __ mtctr(r0); |
- __ bctr(); |
+ __ mtlr(r0); |
+ __ blr(); |
// Backtrack code (branch target for conditional backtracks). |
if (backtrack_label_.is_linked()) { |