Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(859)

Unified Diff: src/objects-inl.h

Issue 2404223002: Revert of [regexp] Port test, match, and search (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.cc ('k') | test/cctest/interpreter/bytecode_expectations/CallRuntime.golden » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 6ea36440b69055a2f603e9e67154889a6467f65e..926bba5efad288cd71ecc18f9e4e254ca285c5c9 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -7030,18 +7030,6 @@
FixedArray::cast(data())->set(index, value);
}
-void JSRegExp::SetLastIndex(int index) {
- static const int offset =
- kSize + JSRegExp::kLastIndexFieldIndex * kPointerSize;
- Smi* value = Smi::FromInt(index);
- WRITE_FIELD(this, offset, value);
-}
-
-Object* JSRegExp::LastIndex() {
- static const int offset =
- kSize + JSRegExp::kLastIndexFieldIndex * kPointerSize;
- return READ_FIELD(this, offset);
-}
ElementsKind JSObject::GetElementsKind() {
ElementsKind kind = map()->elements_kind();
« no previous file with comments | « src/objects.cc ('k') | test/cctest/interpreter/bytecode_expectations/CallRuntime.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698