Index: test/cctest/compiler/test-js-typed-lowering.cc |
diff --git a/test/cctest/compiler/test-js-typed-lowering.cc b/test/cctest/compiler/test-js-typed-lowering.cc |
index 43dd6d536e05a7eb1fd4621dd6c3e5f571e84a08..3b57c0a316e3ec6673fdc7b5ea0415e8879bf29c 100644 |
--- a/test/cctest/compiler/test-js-typed-lowering.cc |
+++ b/test/cctest/compiler/test-js-typed-lowering.cc |
@@ -713,8 +713,6 @@ TEST_WITH_STRONG(MixedComparison1) { |
TEST_WITH_STRONG(RemoveToNumberEffects) { |
- FLAG_turbo_deoptimization = true; |
- |
JSTypedLoweringTester R; |
Node* effect_use = NULL; |
@@ -726,27 +724,16 @@ TEST_WITH_STRONG(RemoveToNumberEffects) { |
switch (i) { |
case 0: |
- if (FLAG_turbo_deoptimization) { |
- DCHECK(OperatorProperties::GetFrameStateInputCount( |
- R.javascript.ToNumber()) == 1); |
- effect_use = R.graph.NewNode(R.javascript.ToNumber(), p0, R.context(), |
- frame_state, ton, R.start()); |
- } else { |
+ DCHECK(OperatorProperties::GetFrameStateInputCount( |
+ R.javascript.ToNumber()) == 1); |
effect_use = R.graph.NewNode(R.javascript.ToNumber(), p0, R.context(), |
- ton, R.start()); |
- } |
+ frame_state, ton, R.start()); |
break; |
case 1: |
- if (FLAG_turbo_deoptimization) { |
- DCHECK(OperatorProperties::GetFrameStateInputCount( |
- R.javascript.ToNumber()) == 1); |
- effect_use = |
- R.graph.NewNode(R.javascript.ToNumber(), ton, R.context(), |
- frame_state, ton, R.start()); |
- } else { |
- effect_use = R.graph.NewNode(R.javascript.ToNumber(), ton, |
- R.context(), ton, R.start()); |
- } |
+ DCHECK(OperatorProperties::GetFrameStateInputCount( |
+ R.javascript.ToNumber()) == 1); |
+ effect_use = R.graph.NewNode(R.javascript.ToNumber(), ton, R.context(), |
+ frame_state, ton, R.start()); |
break; |
case 2: |
effect_use = R.graph.NewNode(R.common.EffectPhi(1), ton, R.start()); |