Index: test/unittests/compiler/linkage-tail-call-unittest.cc |
diff --git a/test/unittests/compiler/linkage-tail-call-unittest.cc b/test/unittests/compiler/linkage-tail-call-unittest.cc |
index 255c8a1150f63a13cb2e91c32215632733ee7f75..597edde6653cf3282a13bf426b7d0ca1ed29df5e 100644 |
--- a/test/unittests/compiler/linkage-tail-call-unittest.cc |
+++ b/test/unittests/compiler/linkage-tail-call-unittest.cc |
@@ -14,9 +14,11 @@ namespace compiler { |
namespace { |
-MachineType kMachineTypes[] = {kMachAnyTagged, kMachAnyTagged, kMachAnyTagged, |
- kMachAnyTagged, kMachAnyTagged, kMachAnyTagged, |
- kMachAnyTagged, kMachAnyTagged}; |
+MachineType kMachineTypes[] = { |
+ MachineType::AnyTagged(), MachineType::AnyTagged(), |
+ MachineType::AnyTagged(), MachineType::AnyTagged(), |
+ MachineType::AnyTagged(), MachineType::AnyTagged(), |
+ MachineType::AnyTagged(), MachineType::AnyTagged()}; |
} |
class LinkageTailCall : public TestWithZone { |
@@ -26,17 +28,17 @@ class LinkageTailCall : public TestWithZone { |
locations->return_count() + locations->parameter_count()); |
MachineSignature* types = new (zone()) MachineSignature( |
locations->return_count(), locations->parameter_count(), kMachineTypes); |
- return new (zone()) |
- CallDescriptor(CallDescriptor::kCallCodeObject, kMachAnyTagged, |
- LinkageLocation::ForAnyRegister(), |
- types, // machine_sig |
- locations, // location_sig |
- 0, // js_parameter_count |
- Operator::kNoProperties, // properties |
- 0, // callee-saved |
- 0, // callee-saved fp |
- CallDescriptor::kNoFlags, // flags, |
- ""); |
+ return new (zone()) CallDescriptor(CallDescriptor::kCallCodeObject, |
+ MachineType::AnyTagged(), |
+ LinkageLocation::ForAnyRegister(), |
+ types, // machine_sig |
+ locations, // location_sig |
+ 0, // js_parameter_count |
+ Operator::kNoProperties, // properties |
+ 0, // callee-saved |
+ 0, // callee-saved fp |
+ CallDescriptor::kNoFlags, // flags, |
+ ""); |
} |
LinkageLocation StackLocation(int loc) { |