Index: src/arm/simulator-arm.h |
diff --git a/src/arm/simulator-arm.h b/src/arm/simulator-arm.h |
index 5256ae35b9b5bebe23a1fdac2edbc64d738432dc..09fb19b20bf708f7e7668c52ced9c10440d658c8 100644 |
--- a/src/arm/simulator-arm.h |
+++ b/src/arm/simulator-arm.h |
@@ -51,7 +51,7 @@ namespace internal { |
// Call the generated regexp code directly. The entry function pointer should |
// expect seven int/pointer sized arguments and return an int. |
#define CALL_GENERATED_REGEXP_CODE(entry, p0, p1, p2, p3, p4, p5, p6) \ |
- (entry(p0, p1, p2, p3, p4, p5, p6)) |
+ (entry(p0, p1, p2, p3, NULL, p4, p5, p6)) |
#define TRY_CATCH_FROM_ADDRESS(try_catch_address) \ |
(reinterpret_cast<TryCatch*>(try_catch_address)) |
@@ -363,7 +363,7 @@ class Simulator { |
#define CALL_GENERATED_REGEXP_CODE(entry, p0, p1, p2, p3, p4, p5, p6) \ |
Simulator::current()->Call( \ |
- FUNCTION_ADDR(entry), 7, p0, p1, p2, p3, p4, p5, p6) |
+ FUNCTION_ADDR(entry), 8, p0, p1, p2, p3, NULL, p4, p5, p6) |
#define TRY_CATCH_FROM_ADDRESS(try_catch_address) \ |
try_catch_address == \ |