Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 9b5b73f2059524262841eeba5f993decc41dc0c4..f0b141224be734a97939e1acee71f5aa07fcbf15 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -917,8 +917,7 @@ class RepresentationSelector { |
void VisitCall(Node* node, SimplifiedLowering* lowering) { |
const CallDescriptor* desc = CallDescriptorOf(node->op()); |
- const MachineSignature* sig = desc->GetMachineSignature(); |
- int params = static_cast<int>(sig->parameter_count()); |
+ int params = static_cast<int>(desc->ParameterCount()); |
// Propagate representation information from call descriptor. |
for (int i = 0; i < node->InputCount(); i++) { |
if (i == 0) { |
@@ -926,15 +925,14 @@ class RepresentationSelector { |
ProcessInput(node, i, UseInfo::None()); |
} else if ((i - 1) < params) { |
ProcessInput(node, i, TruncatingUseInfoFromRepresentation( |
- sig->GetParam(i - 1).representation())); |
+ desc->GetInputType(i).representation())); |
} else { |
ProcessInput(node, i, UseInfo::None()); |
} |
} |
- if (sig->return_count() > 0) { |
- SetOutput(node, |
- desc->GetMachineSignature()->GetReturn().representation()); |
+ if (desc->ReturnCount() > 0) { |
+ SetOutput(node, desc->GetReturnType(0).representation()); |
} else { |
SetOutput(node, MachineRepresentation::kTagged); |
} |