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

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

Issue 2180373005: [turbofan] Add support for String.prototype.charCodeAt/charAt. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | src/compiler/access-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/access-builder.h
diff --git a/src/compiler/access-builder.h b/src/compiler/access-builder.h
index 834522531002347232952998e9baacf8eafe2bb7..9f4b989629ebc35d30ef414d075c64343aa764d9 100644
--- a/src/compiler/access-builder.h
+++ b/src/compiler/access-builder.h
@@ -124,6 +124,33 @@ class AccessBuilder final : public AllStatic {
// Provides access to String::length() field.
static FieldAccess ForStringLength();
+ // Provides access to ConsString::first() field.
+ static FieldAccess ForConsStringFirst();
+
+ // Provides access to ConsString::second() field.
+ static FieldAccess ForConsStringSecond();
+
+ // Provides access to SlicedString::offset() field.
+ static FieldAccess ForSlicedStringOffset();
+
+ // Provides access to SlicedString::parent() field.
+ static FieldAccess ForSlicedStringParent();
+
+ // Provides access to ExternalString::resource_data() field.
+ static FieldAccess ForExternalStringResourceData();
+
+ // Provides access to ExternalOneByteString characters.
+ static ElementAccess ForExternalOneByteStringCharacter();
+
+ // Provides access to ExternalTwoByteString characters.
+ static ElementAccess ForExternalTwoByteStringCharacter();
+
+ // Provides access to SeqOneByteString characters.
+ static ElementAccess ForSeqOneByteStringCharacter();
+
+ // Provides access to SeqTwoByteString characters.
+ static ElementAccess ForSeqTwoByteStringCharacter();
+
// Provides access to JSGlobalObject::global_proxy() field.
static FieldAccess ForJSGlobalObjectGlobalProxy();
« no previous file with comments | « no previous file | src/compiler/access-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698