Index: src/compiler/access-builder.cc |
diff --git a/src/compiler/access-builder.cc b/src/compiler/access-builder.cc |
index 3e513c0bd3ebd7a0d40dd67eba9a31f436823edf..ddf80d13e093f4ec8852b81918d4c1dababedb82 100644 |
--- a/src/compiler/access-builder.cc |
+++ b/src/compiler/access-builder.cc |
@@ -305,26 +305,6 @@ ElementAccess AccessBuilder::ForTypedArrayElement(ExternalArrayType type, |
// static |
-ElementAccess AccessBuilder::ForSeqStringChar(String::Encoding encoding) { |
- switch (encoding) { |
- case String::ONE_BYTE_ENCODING: { |
- ElementAccess access = {kTaggedBase, SeqString::kHeaderSize, |
- Type::Unsigned32(), kMachUint8}; |
- return access; |
- } |
- case String::TWO_BYTE_ENCODING: { |
- ElementAccess access = {kTaggedBase, SeqString::kHeaderSize, |
- Type::Unsigned32(), kMachUint16}; |
- return access; |
- } |
- } |
- UNREACHABLE(); |
- ElementAccess access = {kUntaggedBase, 0, Type::None(), kMachNone}; |
- return access; |
-} |
- |
- |
-// static |
FieldAccess AccessBuilder::ForStatsCounter() { |
FieldAccess access = {kUntaggedBase, 0, MaybeHandle<Name>(), |
TypeCache::Get().kInt32, kMachInt32}; |