Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index e4dd0e1aaf5acdfaaf1cda19a64bba9368743b48..ccc360d846e4456ccc5a7eeb6d5b58b88733eef2 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -318,24 +318,6 @@ void BytecodeGraphBuilder::Environment::PrepareForOsrEntry() { |
if (i >= accumulator_base()) idx = Linkage::kOsrAccumulatorRegisterIndex; |
values()->at(i) = graph()->NewNode(common()->OsrValue(idx), entry); |
} |
- |
- BailoutId loop_id(builder_->bytecode_iterator().current_offset()); |
- Node* frame_state = |
- Checkpoint(loop_id, OutputFrameStateCombine::Ignore(), false, nullptr); |
- Node* checkpoint = |
- graph()->NewNode(common()->Checkpoint(), frame_state, entry, entry); |
- UpdateEffectDependency(checkpoint); |
- |
- // Create the OSR guard nodes. |
- const Operator* guard_op = common()->OsrGuard(OsrGuardType::kUninitialized); |
- Node* effect = checkpoint; |
- for (int i = 0; i < size; i++) { |
- values()->at(i) = effect = |
- graph()->NewNode(guard_op, values()->at(i), effect, entry); |
- } |
- Node* context = effect = graph()->NewNode(guard_op, Context(), effect, entry); |
- SetContext(context); |
- UpdateEffectDependency(effect); |
} |
bool BytecodeGraphBuilder::Environment::StateValuesRequireUpdate( |