Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index ef506fa3f67cb2b36c4ba516cc62f04a5298631d..16627e26c52650ab5bbedcd2d8bc012fabee2b43 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5075,17 +5075,6 @@ void JSRegExp::SetDataAtUnchecked(int index, Object* value, Heap* heap) { |
} |
-void JSRegExp::ResetLastIndex(Isolate* isolate, |
- Handle<JSRegExp> regexp) { |
- // Reset lastIndex property to 0. |
- SetProperty(regexp, |
- isolate->factory()->last_index_symbol(), |
- Handle<Smi>(Smi::FromInt(0)), |
- ::NONE, |
- kNonStrictMode); |
-} |
- |
- |
ElementsKind JSObject::GetElementsKind() { |
ElementsKind kind = map()->elements_kind(); |
#if DEBUG |