| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 237e8071463fe5d3f405f9d4b4f60ce43ec804fc..3132e1acda0d650e084d12bcbfb98c94feaae753 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -2769,16 +2769,6 @@ void TestContext::BuildBranch(HValue* value) {
|
| if (value != NULL && value->CheckFlag(HValue::kIsArguments)) {
|
| builder->Bailout(kArgumentsObjectValueInATestContext);
|
| }
|
| - if (value->IsConstant()) {
|
| - HConstant* constant_value = HConstant::cast(value);
|
| - if (constant_value->BooleanValue()) {
|
| - builder->current_block()->Goto(if_true(), builder->function_state());
|
| - } else {
|
| - builder->current_block()->Goto(if_false(), builder->function_state());
|
| - }
|
| - builder->set_current_block(NULL);
|
| - return;
|
| - }
|
| HBasicBlock* empty_true = builder->graph()->CreateBasicBlock();
|
| HBasicBlock* empty_false = builder->graph()->CreateBasicBlock();
|
| ToBooleanStub::Types expected(condition()->to_boolean_types());
|
|
|