Index: src/x64/simulator-x64.h |
diff --git a/src/x64/simulator-x64.h b/src/x64/simulator-x64.h |
index 6b4d718f66edf9a7d6b294764eba0b355b74ef40..184c166bc0592a271320e7f51a851a8595fcb24d 100644 |
--- a/src/x64/simulator-x64.h |
+++ b/src/x64/simulator-x64.h |
@@ -45,4 +45,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_X64_SIMULATOR_X64_H_ |