Index: src/compiler/js-frame-specialization.cc |
diff --git a/src/compiler/js-frame-specialization.cc b/src/compiler/js-frame-specialization.cc |
index 73e1b7dd24c94de3144895b095051f6d355303eb..d4f6822de61d47995abfa7cc3e12d227e739745d 100644 |
--- a/src/compiler/js-frame-specialization.cc |
+++ b/src/compiler/js-frame-specialization.cc |
@@ -16,8 +16,6 @@ Reduction JSFrameSpecialization::Reduce(Node* node) { |
switch (node->opcode()) { |
case IrOpcode::kOsrValue: |
return ReduceOsrValue(node); |
- case IrOpcode::kOsrGuard: |
- return ReduceOsrGuard(node); |
case IrOpcode::kParameter: |
return ReduceParameter(node); |
default: |
@@ -47,13 +45,6 @@ Reduction JSFrameSpecialization::ReduceOsrValue(Node* node) { |
return Replace(jsgraph()->Constant(value)); |
} |
-Reduction JSFrameSpecialization::ReduceOsrGuard(Node* node) { |
- DCHECK_EQ(IrOpcode::kOsrGuard, node->opcode()); |
- ReplaceWithValue(node, node->InputAt(0), |
- NodeProperties::GetEffectInput(node)); |
- return Changed(node); |
-} |
- |
Reduction JSFrameSpecialization::ReduceParameter(Node* node) { |
DCHECK_EQ(IrOpcode::kParameter, node->opcode()); |
Handle<Object> value; |