Index: src/execution.h |
diff --git a/src/execution.h b/src/execution.h |
index 282350332ac92ff95aeec543abb60ed6b916c823..15d85ef40d5f28684ce9d5ef2aaaf8f991632e26 100644 |
--- a/src/execution.h |
+++ b/src/execution.h |
@@ -105,6 +105,11 @@ class Execution : public AllStatic { |
// Create a new date object from 'time'. |
static Handle<Object> NewDate(double time, bool* exc); |
+ // Create a new regular expression object from 'pattern' and 'flags'. |
+ static Handle<JSRegExp> NewJSRegExp(Handle<String> pattern, |
+ Handle<String> flags, |
+ bool* exc); |
+ |
// Used to implement [] notation on strings (calls JS code) |
static Handle<Object> CharAt(Handle<String> str, uint32_t index); |