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

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: 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
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/linkage-impl.h
diff --git a/src/compiler/linkage-impl.h b/src/compiler/linkage-impl.h
index e7aafc3885d8415554a170c8c53144260b49fa9d..693b1ab9c239c9947d8a8a854a1f4e81bb10015d 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(kMachAnyTagged, index);
}
static LinkageLocation TaggedRegisterLocation(Register reg) {
- return LinkageLocation(kMachineTagged, Register::ToAllocationIndex(reg));
+ return LinkageLocation(kMachAnyTagged, 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(kMachAnyTagged); // 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(kMachAnyTagged); // code
for (int i = 0; i < parameter_count; i++) {
if (i < register_parameter_count) {
// The first parameters to code stub calls go in registers.
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698