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

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

Issue 2312703002: [turbofan] Use MachineRepresentation for PropertyCell access. (Closed)
Patch Set: nit. Created 4 years, 3 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 | « src/compiler/access-builder.h ('k') | src/compiler/js-global-object-specialization.cc » ('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 1710314fd1a759c006b61e9da08e910adca2bd99..44e4180d66f42a7ad7eb9b27f4feafe59e621e1a 100644
--- a/src/compiler/access-builder.cc
+++ b/src/compiler/access-builder.cc
@@ -609,29 +609,6 @@ FieldAccess AccessBuilder::ForContextSlot(size_t index) {
return access;
}
-
-// static
-FieldAccess AccessBuilder::ForPropertyCellValue() {
- return ForPropertyCellValue(Type::Tagged());
-}
-
-
-// static
-FieldAccess AccessBuilder::ForPropertyCellValue(Type* type) {
- // Extract representation dimension of {type} into MachineType {r}.
- MachineType r = MachineType::AnyTagged();
- WriteBarrierKind w = kFullWriteBarrier;
- if (type->Is(Type::TaggedSigned())) {
- r = MachineType::TaggedSigned();
- w = kNoWriteBarrier;
- } else if (type->Is(Type::TaggedPointer())) {
- r = MachineType::TaggedPointer();
- }
- FieldAccess access = {
- kTaggedBase, PropertyCell::kValueOffset, Handle<Name>(), type, r, w};
- return access;
-}
-
// static
FieldAccess AccessBuilder::ForContextExtensionScopeInfo() {
FieldAccess access = {kTaggedBase,
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/js-global-object-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698