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

Unified Diff: src/compiler/linkage.cc

Issue 2258073002: [Turbofan]: Use new MachineTypes in access-builder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: A bit of refactoring. 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/instruction.h ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/linkage.cc
diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc
index e0dde3f0f6497ae935fc5c41482a810fb24941d9..a086d32b2fa321890dd55a2221ecb487d78660a5 100644
--- a/src/compiler/linkage.cc
+++ b/src/compiler/linkage.cc
@@ -37,9 +37,11 @@ MachineType reptyp(Representation representation) {
case Representation::kInteger32:
return MachineType::Int32();
case Representation::kSmi:
+ return MachineType::TaggedSigned();
case Representation::kTagged:
- case Representation::kHeapObject:
return MachineType::AnyTagged();
+ case Representation::kHeapObject:
+ return MachineType::TaggedPointer();
case Representation::kDouble:
return MachineType::Float64();
case Representation::kExternal:
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698