Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index bc70bc52d8adbc1cc6096fba53bfdcd911a30e91..273b9ca8461fb8302d54d521fc9efc424ae12754 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -129,6 +129,24 @@ FieldAccess AccessBuilder::ForJSDateField(JSDate::FieldIndex index) { |
// static |
+FieldAccess AccessBuilder::ForJSRegExpFlags() { |
+ FieldAccess access = {kTaggedBase, JSRegExp::kFlagsOffset, |
+ MaybeHandle<Name>(), Type::Tagged(), |
+ MachineType::AnyTagged()}; |
+ return access; |
+} |
+ |
+ |
+// static |
+FieldAccess AccessBuilder::ForJSRegExpSource() { |
+ FieldAccess access = {kTaggedBase, JSRegExp::kSourceOffset, |
+ MaybeHandle<Name>(), Type::Tagged(), |
+ MachineType::AnyTagged()}; |
+ return access; |
+} |
+ |
+ |
+// static |
FieldAccess AccessBuilder::ForFixedArrayLength() { |
FieldAccess access = { |
kTaggedBase, FixedArray::kLengthOffset, MaybeHandle<Name>(), |