| Index: src/compiler/simplified-lowering.cc
|
| diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc
|
| index 9916d952bdda34d823ec8a10106f5fb479987ad1..3c606c81b13d045545613d98b11fe16e69455b48 100644
|
| --- a/src/compiler/simplified-lowering.cc
|
| +++ b/src/compiler/simplified-lowering.cc
|
| @@ -745,23 +745,6 @@
|
| }
|
| // Only enqueue other inputs (effects, control).
|
| for (int i = tagged_count; i < node->InputCount(); i++) {
|
| - EnqueueInput(node, i);
|
| - }
|
| - }
|
| -
|
| - void VisitReturn(Node* node) {
|
| - int tagged_limit = node->op()->ValueInputCount() +
|
| - OperatorProperties::GetContextInputCount(node->op()) +
|
| - OperatorProperties::GetFrameStateInputCount(node->op());
|
| - // Visit integer slot count to pop
|
| - ProcessInput(node, 0, UseInfo::TruncatingWord32());
|
| -
|
| - // Visit value, context and frame state inputs as tagged.
|
| - for (int i = 1; i < tagged_limit; i++) {
|
| - ProcessInput(node, i, UseInfo::AnyTagged());
|
| - }
|
| - // Only enqueue other inputs (effects, control).
|
| - for (int i = tagged_limit; i < node->InputCount(); i++) {
|
| EnqueueInput(node, i);
|
| }
|
| }
|
| @@ -2465,14 +2448,10 @@
|
| case IrOpcode::kOsrGuard:
|
| return VisitOsrGuard(node);
|
|
|
| - case IrOpcode::kReturn:
|
| - VisitReturn(node);
|
| - // Assume the output is tagged.
|
| - return SetOutput(node, MachineRepresentation::kTagged);
|
| -
|
| // Operators with all inputs tagged and no or tagged output have uniform
|
| // handling.
|
| case IrOpcode::kEnd:
|
| + case IrOpcode::kReturn:
|
| case IrOpcode::kIfSuccess:
|
| case IrOpcode::kIfException:
|
| case IrOpcode::kIfTrue:
|
|
|