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

Unified Diff: src/compiler/access-builder.cc

Issue 1453103002: [turbofan] Remove dead code (related to the SeqStringChar lowering removal). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/compiler/access-builder.h ('k') | src/compiler/js-intrinsic-lowering.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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};
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/js-intrinsic-lowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698