summaryrefslogtreecommitdiff
path: root/deps/v8/src/ia32/simulator-ia32.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/ia32/simulator-ia32.h')
-rw-r--r--deps/v8/src/ia32/simulator-ia32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/ia32/simulator-ia32.h b/deps/v8/src/ia32/simulator-ia32.h
index 4d02c03ab6..3bed2681f8 100644
--- a/deps/v8/src/ia32/simulator-ia32.h
+++ b/deps/v8/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_