Index: src/mips/simulator-mips.h |
diff --git a/src/mips/simulator-mips.h b/src/mips/simulator-mips.h |
index 0a8de9497adc21176bc72566553769f6d11bc3da..38d097480df70b24ef4026f1898468da6a90ca94 100644 |
--- a/src/mips/simulator-mips.h |
+++ b/src/mips/simulator-mips.h |
@@ -50,7 +50,7 @@ namespace internal { |
entry(p0, p1, p2, p3, p4) |
typedef int (*mips_regexp_matcher)(String*, int, const byte*, const byte*, |
- int*, Address, int, Isolate*); |
+ void*, int*, Address, int, Isolate*); |
// Call the generated regexp code directly. The code at the entry address |
@@ -58,7 +58,8 @@ typedef int (*mips_regexp_matcher)(String*, int, const byte*, const byte*, |
// The fifth argument is a dummy that reserves the space used for |
// the return address added by the ExitFrame in native calls. |
#define CALL_GENERATED_REGEXP_CODE(entry, p0, p1, p2, p3, p4, p5, p6, p7) \ |
- (FUNCTION_CAST<mips_regexp_matcher>(entry)(p0, p1, p2, p3, p4, p5, p6, p7)) |
+ (FUNCTION_CAST<mips_regexp_matcher>(entry)( \ |
+ p0, p1, p2, p3, NULL, p4, p5, p6, p7)) |
#define TRY_CATCH_FROM_ADDRESS(try_catch_address) \ |
reinterpret_cast<TryCatch*>(try_catch_address) |
@@ -361,7 +362,7 @@ class Simulator { |
#define CALL_GENERATED_REGEXP_CODE(entry, p0, p1, p2, p3, p4, p5, p6, p7) \ |
Simulator::current(Isolate::Current())->Call( \ |
- entry, 8, p0, p1, p2, p3, p4, p5, p6, p7) |
+ entry, 9, p0, p1, p2, p3, NULL, p4, p5, p6, p7) |
#define TRY_CATCH_FROM_ADDRESS(try_catch_address) \ |
try_catch_address == NULL ? \ |