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

Unified Diff: src/compiler/linkage-impl.h

Issue 470593002: Unify MachineType and RepType. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Forgot a RepresentationOf() in arm64. Created 6 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
Index: src/compiler/linkage-impl.h
diff --git a/src/compiler/linkage-impl.h b/src/compiler/linkage-impl.h
index e7aafc3885d8415554a170c8c53144260b49fa9d..9c05bb8fa87be9eec638a4eff58d75a66bde271f 100644
--- a/src/compiler/linkage-impl.h
+++ b/src/compiler/linkage-impl.h
@@ -13,11 +13,11 @@ class LinkageHelper {
public:
static LinkageLocation TaggedStackSlot(int index) {
DCHECK(index < 0);
- return LinkageLocation(kMachineTagged, index);
+ return LinkageLocation(mAnyTagged, index);
}
static LinkageLocation TaggedRegisterLocation(Register reg) {
- return LinkageLocation(kMachineTagged, Register::ToAllocationIndex(reg));
+ return LinkageLocation(mAnyTagged, Register::ToAllocationIndex(reg));
}
static inline LinkageLocation WordRegisterLocation(Register reg) {
@@ -98,7 +98,7 @@ class LinkageHelper {
DCHECK_LE(return_count, 2);
- locations[index++] = UnconstrainedRegister(kMachineTagged); // CEntryStub
+ locations[index++] = UnconstrainedRegister(mAnyTagged); // CEntryStub
for (int i = 0; i < parameter_count; i++) {
// All parameters to runtime calls go on the stack.
@@ -143,7 +143,7 @@ class LinkageHelper {
int index = 0;
locations[index++] =
TaggedRegisterLocation(LinkageTraits::ReturnValueReg());
- locations[index++] = UnconstrainedRegister(kMachineTagged); // code
+ locations[index++] = UnconstrainedRegister(mAnyTagged); // code
for (int i = 0; i < parameter_count; i++) {
if (i < register_parameter_count) {
// The first parameters to code stub calls go in registers.

Powered by Google App Engine
This is Rietveld 408576698