Index: test/cctest/compiler/test-multiple-return.cc |
diff --git a/test/cctest/compiler/test-multiple-return.cc b/test/cctest/compiler/test-multiple-return.cc |
index aa7ec02a6695d28121130363d729acfb121fe51c..2221ffbc86f360d76a39c19395e3c8d2cae66999 100644 |
--- a/test/cctest/compiler/test-multiple-return.cc |
+++ b/test/cctest/compiler/test-multiple-return.cc |
@@ -25,24 +25,21 @@ namespace { |
CallDescriptor* GetCallDescriptor(Zone* zone, int return_count, |
int param_count) { |
- MachineSignature::Builder msig(zone, return_count, param_count); |
LocationSignature::Builder locations(zone, return_count, param_count); |
const RegisterConfiguration* config = RegisterConfiguration::Turbofan(); |
// Add return location(s). |
CHECK(return_count <= config->num_allocatable_general_registers()); |
for (int i = 0; i < return_count; i++) { |
- msig.AddReturn(MachineType::Int32()); |
- locations.AddReturn( |
- LinkageLocation::ForRegister(config->allocatable_general_codes()[i])); |
+ locations.AddReturn(LinkageLocation::ForRegister( |
+ config->allocatable_general_codes()[i], MachineType::AnyTagged())); |
} |
// Add register and/or stack parameter(s). |
CHECK(param_count <= config->num_allocatable_general_registers()); |
for (int i = 0; i < param_count; i++) { |
- msig.AddParam(MachineType::Int32()); |
- locations.AddParam( |
- LinkageLocation::ForRegister(config->allocatable_general_codes()[i])); |
+ locations.AddParam(LinkageLocation::ForRegister( |
+ config->allocatable_general_codes()[i], MachineType::AnyTagged())); |
} |
const RegList kCalleeSaveRegisters = 0; |
@@ -55,7 +52,6 @@ CallDescriptor* GetCallDescriptor(Zone* zone, int return_count, |
CallDescriptor::kCallCodeObject, // kind |
target_type, // target MachineType |
target_loc, // target location |
- msig.Build(), // machine_sig |
locations.Build(), // location_sig |
0, // js_parameter_count |
compiler::Operator::kNoProperties, // properties |