Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index f9178ccef66c18677282f89098e1d820c7b5c9b8..b1eafdb3a872b7128495144ab3123e179eb01e18 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6573,7 +6573,8 @@ class JSRegExp: public JSObject { |
inline Object* DataAtUnchecked(int index); |
inline void SetDataAtUnchecked(int index, Object* value, Heap* heap); |
inline Type TypeTagUnchecked(); |
- inline void ResetLastIndex(); |
+ |
+ static inline void ResetLastIndex(Isolate* isolate, Handle<JSRegExp> regexp); |
static int code_index(bool is_ascii) { |
if (is_ascii) { |