Index: test/unittests/compiler/tail-call-optimization-unittest.cc |
diff --git a/test/unittests/compiler/tail-call-optimization-unittest.cc b/test/unittests/compiler/tail-call-optimization-unittest.cc |
index 7257cc9802e81555f3a50d7ee579122098d10f13..3441c68b961090cae49bba8d8c497d9c8f4066c0 100644 |
--- a/test/unittests/compiler/tail-call-optimization-unittest.cc |
+++ b/test/unittests/compiler/tail-call-optimization-unittest.cc |
@@ -26,11 +26,12 @@ class TailCallOptimizationTest : public GraphTest { |
TEST_F(TailCallOptimizationTest, CallCodeObject0) { |
- MachineType kMachineSignature[] = {kMachAnyTagged, kMachAnyTagged}; |
+ MachineType kMachineSignature[] = {MachineType::AnyTagged(), |
+ MachineType::AnyTagged()}; |
LinkageLocation kLocationSignature[] = {LinkageLocation::ForRegister(0), |
LinkageLocation::ForRegister(1)}; |
const CallDescriptor* kCallDescriptor = new (zone()) CallDescriptor( |
- CallDescriptor::kCallCodeObject, kMachAnyTagged, |
+ CallDescriptor::kCallCodeObject, MachineType::AnyTagged(), |
LinkageLocation::ForRegister(0), |
new (zone()) MachineSignature(1, 1, kMachineSignature), |
new (zone()) LocationSignature(1, 1, kLocationSignature), 0, |
@@ -47,11 +48,12 @@ TEST_F(TailCallOptimizationTest, CallCodeObject0) { |
TEST_F(TailCallOptimizationTest, CallCodeObject1) { |
- MachineType kMachineSignature[] = {kMachAnyTagged, kMachAnyTagged}; |
+ MachineType kMachineSignature[] = {MachineType::AnyTagged(), |
+ MachineType::AnyTagged()}; |
LinkageLocation kLocationSignature[] = {LinkageLocation::ForRegister(0), |
LinkageLocation::ForRegister(1)}; |
const CallDescriptor* kCallDescriptor = new (zone()) CallDescriptor( |
- CallDescriptor::kCallCodeObject, kMachAnyTagged, |
+ CallDescriptor::kCallCodeObject, MachineType::AnyTagged(), |
LinkageLocation::ForRegister(0), |
new (zone()) MachineSignature(1, 1, kMachineSignature), |
new (zone()) LocationSignature(1, 1, kLocationSignature), 0, |
@@ -72,11 +74,12 @@ TEST_F(TailCallOptimizationTest, CallCodeObject1) { |
TEST_F(TailCallOptimizationTest, CallCodeObject2) { |
- MachineType kMachineSignature[] = {kMachAnyTagged, kMachAnyTagged}; |
+ MachineType kMachineSignature[] = {MachineType::AnyTagged(), |
+ MachineType::AnyTagged()}; |
LinkageLocation kLocationSignature[] = {LinkageLocation::ForRegister(0), |
LinkageLocation::ForRegister(1)}; |
const CallDescriptor* kCallDescriptor = new (zone()) CallDescriptor( |
- CallDescriptor::kCallCodeObject, kMachAnyTagged, |
+ CallDescriptor::kCallCodeObject, MachineType::AnyTagged(), |
LinkageLocation::ForRegister(0), |
new (zone()) MachineSignature(1, 1, kMachineSignature), |
new (zone()) LocationSignature(1, 1, kLocationSignature), 0, |
@@ -95,11 +98,12 @@ TEST_F(TailCallOptimizationTest, CallCodeObject2) { |
TEST_F(TailCallOptimizationTest, CallJSFunction0) { |
- MachineType kMachineSignature[] = {kMachAnyTagged, kMachAnyTagged}; |
+ MachineType kMachineSignature[] = {MachineType::AnyTagged(), |
+ MachineType::AnyTagged()}; |
LinkageLocation kLocationSignature[] = {LinkageLocation::ForRegister(0), |
LinkageLocation::ForRegister(1)}; |
const CallDescriptor* kCallDescriptor = new (zone()) CallDescriptor( |
- CallDescriptor::kCallJSFunction, kMachAnyTagged, |
+ CallDescriptor::kCallJSFunction, MachineType::AnyTagged(), |
LinkageLocation::ForRegister(0), |
new (zone()) MachineSignature(1, 1, kMachineSignature), |
new (zone()) LocationSignature(1, 1, kLocationSignature), 0, |
@@ -116,11 +120,12 @@ TEST_F(TailCallOptimizationTest, CallJSFunction0) { |
TEST_F(TailCallOptimizationTest, CallJSFunction1) { |
- MachineType kMachineSignature[] = {kMachAnyTagged, kMachAnyTagged}; |
+ MachineType kMachineSignature[] = {MachineType::AnyTagged(), |
+ MachineType::AnyTagged()}; |
LinkageLocation kLocationSignature[] = {LinkageLocation::ForRegister(0), |
LinkageLocation::ForRegister(1)}; |
const CallDescriptor* kCallDescriptor = new (zone()) CallDescriptor( |
- CallDescriptor::kCallJSFunction, kMachAnyTagged, |
+ CallDescriptor::kCallJSFunction, MachineType::AnyTagged(), |
LinkageLocation::ForRegister(0), |
new (zone()) MachineSignature(1, 1, kMachineSignature), |
new (zone()) LocationSignature(1, 1, kLocationSignature), 0, |
@@ -141,11 +146,12 @@ TEST_F(TailCallOptimizationTest, CallJSFunction1) { |
TEST_F(TailCallOptimizationTest, CallJSFunction2) { |
- MachineType kMachineSignature[] = {kMachAnyTagged, kMachAnyTagged}; |
+ MachineType kMachineSignature[] = {MachineType::AnyTagged(), |
+ MachineType::AnyTagged()}; |
LinkageLocation kLocationSignature[] = {LinkageLocation::ForRegister(0), |
LinkageLocation::ForRegister(1)}; |
const CallDescriptor* kCallDescriptor = new (zone()) CallDescriptor( |
- CallDescriptor::kCallJSFunction, kMachAnyTagged, |
+ CallDescriptor::kCallJSFunction, MachineType::AnyTagged(), |
LinkageLocation::ForRegister(0), |
new (zone()) MachineSignature(1, 1, kMachineSignature), |
new (zone()) LocationSignature(1, 1, kLocationSignature), 0, |