Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 8c5c9b98d67954ecfd84f181b95339ba8952a4f7..92a91e9a1db1cfeebbace1ef10bbdf6ecdbed81f 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -38,11 +38,9 @@ Reduction JSGenericLowering::Reduce(Node* node) { |
// poor-man's representation inference here and insert manual change. |
if (!is_typing_enabled_) { |
Node* condition = node->InputAt(0); |
- if (condition->opcode() != IrOpcode::kAlways) { |
- Node* test = graph()->NewNode(machine()->WordEqual(), condition, |
- jsgraph()->TrueConstant()); |
- node->ReplaceInput(0, test); |
- } |
+ Node* test = graph()->NewNode(machine()->WordEqual(), condition, |
+ jsgraph()->TrueConstant()); |
+ node->ReplaceInput(0, test); |
break; |
} |
// Fall-through. |