Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 547aa0f9285c5a22cd693d5ffafac42a4d185e3a..8c1ea4647eb7225c32cc952cfa6d0f17cdb9944e 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -1245,9 +1245,9 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
ExternalReference::address_of_regexp_stack_memory_size(isolate()); |
__ mov(r11, Operand(address_of_regexp_stack_memory_address)); |
__ LoadP(r11, MemOperand(r11, 0)); |
- __ mov(r12, Operand(address_of_regexp_stack_memory_size)); |
- __ LoadP(r12, MemOperand(r12, 0)); |
- __ add(r9, r11, r12); |
+ __ mov(ip, Operand(address_of_regexp_stack_memory_size)); |
jgruber
2017/03/17 07:15:49
Out of curiosity, is ip not the instruction pointe
john.yan
2017/03/17 13:48:41
ip on ppc/s390 is the Inter Procedural register.
|
+ __ LoadP(ip, MemOperand(ip, 0)); |
+ __ add(r9, r11, ip); |
// Argument 6 (r8): Set the number of capture registers to zero to force |
// global egexps to behave as non-global. This does not affect non-global |