Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(836)

Unified Diff: src/ppc/code-stubs-ppc.cc

Issue 2757673004: PPC/s390: [regexp] Port RegExpExecStub to CSA (mostly) (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/s390/code-stubs-s390.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | src/s390/code-stubs-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698