| Index: src/compiler/simplified-lowering.cc
|
| diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc
|
| index f0fdb931a849cd6812dbeeb0958bbd4613224b9d..8b7e850b7b861fd7c3007d536b019b71229e4def 100644
|
| --- a/src/compiler/simplified-lowering.cc
|
| +++ b/src/compiler/simplified-lowering.cc
|
| @@ -1402,30 +1402,6 @@ class RepresentationSelector {
|
| return;
|
| }
|
|
|
| - void VisitOsrGuard(Node* node) {
|
| - VisitInputs(node);
|
| -
|
| - // Insert a dynamic check for the OSR value type if necessary.
|
| - switch (OsrGuardTypeOf(node->op())) {
|
| - case OsrGuardType::kUninitialized:
|
| - // At this point, we should always have a type for the OsrValue.
|
| - UNREACHABLE();
|
| - break;
|
| - case OsrGuardType::kSignedSmall:
|
| - if (lower()) {
|
| - NodeProperties::ChangeOp(node,
|
| - simplified()->CheckedTaggedToTaggedSigned());
|
| - }
|
| - return SetOutput(node, MachineRepresentation::kTaggedSigned);
|
| - case OsrGuardType::kAny: // Nothing to check.
|
| - if (lower()) {
|
| - DeferReplacement(node, node->InputAt(0));
|
| - }
|
| - return SetOutput(node, MachineRepresentation::kTagged);
|
| - }
|
| - UNREACHABLE();
|
| - }
|
| -
|
| // Dispatching routine for visiting the node {node} with the usage {use}.
|
| // Depending on the operator, propagate new usage info to the inputs.
|
| void VisitNode(Node* node, Truncation truncation,
|
| @@ -2786,9 +2762,6 @@ class RepresentationSelector {
|
| return;
|
| }
|
|
|
| - case IrOpcode::kOsrGuard:
|
| - return VisitOsrGuard(node);
|
| -
|
| case IrOpcode::kFinishRegion:
|
| VisitInputs(node);
|
| // Assume the output is tagged pointer.
|
|
|