Index: src/ia32/simulator-ia32.h |
diff --git a/src/ia32/simulator-ia32.h b/src/ia32/simulator-ia32.h |
index 4d02c03ab61e4cf428f1dabe0050165f30b122dc..3bed2681f8d785213991f148ceecc944130df413 100644 |
--- a/src/ia32/simulator-ia32.h |
+++ b/src/ia32/simulator-ia32.h |
@@ -44,4 +44,9 @@ |
(reinterpret_cast<uintptr_t>(this) >= limit ? \ |
reinterpret_cast<uintptr_t>(this) - limit : 0) |
+// 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) |
+ |
#endif // V8_IA32_SIMULATOR_IA32_H_ |