| Index: src/compiler/simplified-lowering.cc
|
| diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc
|
| index 5f9cafe89f6645892c9d9a16315431a533855620..9126c2a2821c41fb8dd7cc2053d33ff740a96906 100644
|
| --- a/src/compiler/simplified-lowering.cc
|
| +++ b/src/compiler/simplified-lowering.cc
|
| @@ -894,7 +894,6 @@
|
| // Helper for handling selects.
|
| void VisitSelect(Node* node, Truncation truncation,
|
| SimplifiedLowering* lowering) {
|
| - DCHECK(TypeOf(node->InputAt(0))->Is(Type::Boolean()));
|
| ProcessInput(node, 0, UseInfo::Bool());
|
|
|
| MachineRepresentation output =
|
| @@ -1425,12 +1424,10 @@
|
| return;
|
| }
|
|
|
| - case IrOpcode::kBranch: {
|
| - DCHECK(TypeOf(node->InputAt(0))->Is(Type::Boolean()));
|
| + case IrOpcode::kBranch:
|
| ProcessInput(node, 0, UseInfo::Bool());
|
| EnqueueInput(node, NodeProperties::FirstControlIndex(node));
|
| return;
|
| - }
|
| case IrOpcode::kSwitch:
|
| ProcessInput(node, 0, UseInfo::TruncatingWord32());
|
| EnqueueInput(node, NodeProperties::FirstControlIndex(node));
|
|
|