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

Unified Diff: src/s390/simulator-s390.h

Issue 2752143003: [regexp] Remove remainder of native RegExpExecStub (Closed)
Patch Set: Fix arm compilation Created 3 years, 8 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
Index: src/s390/simulator-s390.h
diff --git a/src/s390/simulator-s390.h b/src/s390/simulator-s390.h
index 95a7d057722f8f7dd42a857ff6bced62221172ae..79e35b006da8d5a38623096b028244897e6419ae 100644
--- a/src/s390/simulator-s390.h
+++ b/src/s390/simulator-s390.h
@@ -34,7 +34,7 @@ typedef int (*s390_regexp_matcher)(String*, int, const byte*, const byte*, int*,
#define CALL_GENERATED_REGEXP_CODE(isolate, entry, p0, p1, p2, p3, p4, p5, p6, \
p7, p8) \
(FUNCTION_CAST<s390_regexp_matcher>(entry)(p0, p1, p2, p3, p4, p5, p6, p7, \
- NULL, p8))
+ p8))
// The stack limit beyond which we will throw stack overflow errors in
// generated code. Because generated code on s390 uses the C stack, we
@@ -1259,10 +1259,9 @@ class Simulator {
#define CALL_GENERATED_REGEXP_CODE(isolate, entry, p0, p1, p2, p3, p4, p5, p6, \
p7, p8) \
- Simulator::current(isolate)->Call(entry, 10, (intptr_t)p0, (intptr_t)p1, \
- (intptr_t)p2, (intptr_t)p3, (intptr_t)p4, \
- (intptr_t)p5, (intptr_t)p6, (intptr_t)p7, \
- (intptr_t)NULL, (intptr_t)p8)
+ Simulator::current(isolate)->Call( \
+ entry, 10, (intptr_t)p0, (intptr_t)p1, (intptr_t)p2, (intptr_t)p3, \
+ (intptr_t)p4, (intptr_t)p5, (intptr_t)p6, (intptr_t)p7, (intptr_t)p8)
// The simulator has its own stack. Thus it has a different stack limit from
// the C-based native code. The JS-based limit normally points near the end of

Powered by Google App Engine
This is Rietveld 408576698