| Index: src/compiler/js-native-context-specialization.cc
|
| diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc
|
| index f01effc3baf577c3a3c7ed95aaa851c2c580a1c7..bf81e33fdf0f889682d0b80fd9dc7737d2f7d58b 100644
|
| --- a/src/compiler/js-native-context-specialization.cc
|
| +++ b/src/compiler/js-native-context-specialization.cc
|
| @@ -435,12 +435,7 @@ Reduction JSNativeContextSpecialization::ReduceNamedAccess(
|
| if (nexus.IsUninitialized()) {
|
| if ((flags() & kDeoptimizationEnabled) &&
|
| (flags() & kBailoutOnUninitialized)) {
|
| - // TODO(turbofan): Implement all eager bailout points correctly in
|
| - // the graph builder.
|
| - Node* frame_state = NodeProperties::GetFrameStateInput(node, 1);
|
| - if (!OpParameter<FrameStateInfo>(frame_state).bailout_id().IsNone()) {
|
| - return ReduceSoftDeoptimize(node);
|
| - }
|
| + return ReduceSoftDeoptimize(node);
|
| }
|
| return NoChange();
|
| }
|
| @@ -452,12 +447,7 @@ Reduction JSNativeContextSpecialization::ReduceNamedAccess(
|
| } else if (receiver_maps.length() == 0) {
|
| if ((flags() & kDeoptimizationEnabled) &&
|
| (flags() & kBailoutOnUninitialized)) {
|
| - // TODO(turbofan): Implement all eager bailout points correctly in
|
| - // the graph builder.
|
| - Node* frame_state = NodeProperties::GetFrameStateInput(node, 1);
|
| - if (!OpParameter<FrameStateInfo>(frame_state).bailout_id().IsNone()) {
|
| - return ReduceSoftDeoptimize(node);
|
| - }
|
| + return ReduceSoftDeoptimize(node);
|
| }
|
| return NoChange();
|
| }
|
| @@ -917,12 +907,7 @@ Reduction JSNativeContextSpecialization::ReduceKeyedAccess(
|
| if (nexus.IsUninitialized()) {
|
| if ((flags() & kDeoptimizationEnabled) &&
|
| (flags() & kBailoutOnUninitialized)) {
|
| - // TODO(turbofan): Implement all eager bailout points correctly in
|
| - // the graph builder.
|
| - Node* frame_state = NodeProperties::GetFrameStateInput(node, 1);
|
| - if (!OpParameter<FrameStateInfo>(frame_state).bailout_id().IsNone()) {
|
| - return ReduceSoftDeoptimize(node);
|
| - }
|
| + return ReduceSoftDeoptimize(node);
|
| }
|
| return NoChange();
|
| }
|
| @@ -934,12 +919,7 @@ Reduction JSNativeContextSpecialization::ReduceKeyedAccess(
|
| } else if (receiver_maps.length() == 0) {
|
| if ((flags() & kDeoptimizationEnabled) &&
|
| (flags() & kBailoutOnUninitialized)) {
|
| - // TODO(turbofan): Implement all eager bailout points correctly in
|
| - // the graph builder.
|
| - Node* frame_state = NodeProperties::GetFrameStateInput(node, 1);
|
| - if (!OpParameter<FrameStateInfo>(frame_state).bailout_id().IsNone()) {
|
| - return ReduceSoftDeoptimize(node);
|
| - }
|
| + return ReduceSoftDeoptimize(node);
|
| }
|
| return NoChange();
|
| }
|
|
|