Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 57a715dbd19da4ad35ffe2e50c403c6b8fccbbcf..1005c3ebd823bf57d346d984bd18206408004335 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -365,6 +365,14 @@ FieldAccess AccessBuilder::ForMapPrototype() { |
// static |
+FieldAccess AccessBuilder::ForNameHashField() { |
+ FieldAccess access = { |
+ kTaggedBase, Name::kHashFieldOffset, Handle<Name>(), |
+ Type::Internal(), MachineType::Pointer(), kNoWriteBarrier}; |
+ return access; |
+} |
+ |
+// static |
FieldAccess AccessBuilder::ForStringLength() { |
FieldAccess access = {kTaggedBase, |
String::kLengthOffset, |