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 cd9ba00d7428154bf35657b100180b66488b0f8f..5d24a3bd1da6963f2a5984eac10899205e9e6ca7 100644 |
--- a/test/unittests/compiler/linkage-tail-call-unittest.cc |
+++ b/test/unittests/compiler/linkage-tail-call-unittest.cc |
@@ -28,7 +28,7 @@ class LinkageTailCall : public TestWithZone { |
locations->return_count(), locations->parameter_count(), kMachineTypes); |
return new (zone()) |
CallDescriptor(CallDescriptor::kCallCodeObject, kMachAnyTagged, |
- LinkageLocation::AnyRegister(), |
+ LinkageLocation::ForAnyRegister(), |
types, // machine_sig |
locations, // location_sig |
0, // js_parameter_count |
@@ -39,9 +39,13 @@ class LinkageTailCall : public TestWithZone { |
""); |
} |
- LinkageLocation StackLocation(int loc) { return LinkageLocation(-loc); } |
+ LinkageLocation StackLocation(int loc) { |
+ return LinkageLocation::ForCallerFrameSlot(-loc); |
+ } |
- LinkageLocation RegisterLocation(int loc) { return LinkageLocation(loc); } |
+ LinkageLocation RegisterLocation(int loc) { |
+ return LinkageLocation::ForRegister(loc); |
+ } |
}; |