Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index aaa1c7160717e0f2e3c81f4c603cff6b681c263c..4aef26ee253e4f122d79bd2cffe375bea9c246eb 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -1087,8 +1087,7 @@ void HGraphBuilder::IfBuilder::Then() { |
// so that the graph builder visits it and sees any live range extending |
// constructs within it. |
HConstant* constant_false = builder()->graph()->GetConstantFalse(); |
- ToBooleanICStub::Types boolean_type = ToBooleanICStub::Types(); |
- boolean_type.Add(ToBooleanICStub::BOOLEAN); |
+ ToBooleanHints boolean_type = ToBooleanHint::kBoolean; |
HBranch* branch = builder()->New<HBranch>( |
constant_false, boolean_type, first_true_block_, first_false_block_); |
builder()->FinishCurrentBlock(branch); |
@@ -3935,7 +3934,7 @@ void TestContext::BuildBranch(HValue* value) { |
if (value != NULL && value->CheckFlag(HValue::kIsArguments)) { |
builder->Bailout(kArgumentsObjectValueInATestContext); |
} |
- ToBooleanICStub::Types expected(condition()->to_boolean_types()); |
+ ToBooleanHints expected(condition()->to_boolean_types()); |
ReturnControl(owner()->New<HBranch>(value, expected), BailoutId::None()); |
} |
@@ -11072,7 +11071,7 @@ void HOptimizedGraphBuilder::VisitLogicalExpression(BinaryOperation* expr) { |
// We need an extra block to maintain edge-split form. |
HBasicBlock* empty_block = graph()->CreateBasicBlock(); |
HBasicBlock* eval_right = graph()->CreateBasicBlock(); |
- ToBooleanICStub::Types expected(expr->left()->to_boolean_types()); |
+ ToBooleanHints expected(expr->left()->to_boolean_types()); |
HBranch* test = is_logical_and |
? New<HBranch>(left_value, expected, eval_right, empty_block) |
: New<HBranch>(left_value, expected, empty_block, eval_right); |