Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index a3df160e5896b2e6719565e0e738e2e4f97341bf..32c6147ae46bdb6465136fc7215924e6db5cc00a 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -1449,14 +1449,6 @@ void AstGraphBuilder::VisitTryCatchStatement(TryCatchStatement* stmt) { |
} |
try_control.EndTry(); |
- // Insert lazy bailout point. |
- // TODO(mstarzinger): We are only using a 'call' to get a lazy bailout |
- // point. Ideally, we whould not re-enter optimized code when deoptimized |
- // lazily. Tracked by issue v8:4195. |
- NewNode(common()->LazyBailout(), |
- jsgraph()->ZeroConstant(), // dummy target. |
- environment()->Checkpoint(stmt->HandlerId())); // frame state. |
- |
// Clear message object as we enter the catch block. |
Node* the_hole = jsgraph()->TheHoleConstant(); |
NewNode(javascript()->StoreMessage(), the_hole); |
@@ -1501,14 +1493,6 @@ void AstGraphBuilder::VisitTryFinallyStatement(TryFinallyStatement* stmt) { |
} |
try_control.EndTry(commands->GetFallThroughToken(), fallthrough_result); |
- // Insert lazy bailout point. |
- // TODO(mstarzinger): We are only using a 'call' to get a lazy bailout |
- // point. Ideally, we whould not re-enter optimized code when deoptimized |
- // lazily. Tracked by issue v8:4195. |
- NewNode(common()->LazyBailout(), |
- jsgraph()->ZeroConstant(), // dummy target. |
- environment()->Checkpoint(stmt->HandlerId())); // frame state. |
- |
// The result value semantics depend on how the block was entered: |
// - ReturnStatement: It represents the return value being returned. |
// - ThrowStatement: It represents the exception being thrown. |