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

Unified Diff: src/machine-type.h

Issue 2290233002: [turbofan] Introduce MachineRepresentation to PropertyAccessInfo. (Closed)
Patch Set: REBASE and comments. Created 4 years, 4 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/verifier.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/machine-type.h
diff --git a/src/machine-type.h b/src/machine-type.h
index d31c21880e92dc0dfb832871ce17606baf69d55d..aeb3579fd90bce261a77953a5ee11d9567cc4992 100644
--- a/src/machine-type.h
+++ b/src/machine-type.h
@@ -169,7 +169,7 @@ class MachineType {
return MachineType(MachineRepresentation::kBit, MachineSemantic::kNone);
}
- static MachineType TypeForRepresentation(MachineRepresentation& rep,
+ static MachineType TypeForRepresentation(const MachineRepresentation& rep,
bool isSigned = true) {
switch (rep) {
case MachineRepresentation::kNone:
@@ -192,6 +192,10 @@ class MachineType {
return MachineType::Simd128();
case MachineRepresentation::kTagged:
return MachineType::AnyTagged();
+ case MachineRepresentation::kTaggedSigned:
+ return MachineType::TaggedSigned();
+ case MachineRepresentation::kTaggedPointer:
+ return MachineType::TaggedPointer();
default:
UNREACHABLE();
return MachineType::None();
« no previous file with comments | « src/compiler/verifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698