Index: src/crankshaft/ppc/lithium-ppc.cc |
diff --git a/src/crankshaft/ppc/lithium-ppc.cc b/src/crankshaft/ppc/lithium-ppc.cc |
index 15853fde9d0713d32fff65ac469323002bcfc165..c43a64dbb4cffedf24509415480903e921baad0e 100644 |
--- a/src/crankshaft/ppc/lithium-ppc.cc |
+++ b/src/crankshaft/ppc/lithium-ppc.cc |
@@ -918,14 +918,14 @@ LInstruction* LChunkBuilder::DoBranch(HBranch* instr) { |
HValue* value = instr->value(); |
Representation r = value->representation(); |
HType type = value->type(); |
- ToBooleanStub::Types expected = instr->expected_input_types(); |
- if (expected.IsEmpty()) expected = ToBooleanStub::Types::Generic(); |
+ ToBooleanICStub::Types expected = instr->expected_input_types(); |
+ if (expected.IsEmpty()) expected = ToBooleanICStub::Types::Generic(); |
bool easy_case = !r.IsTagged() || type.IsBoolean() || type.IsSmi() || |
type.IsJSArray() || type.IsHeapNumber() || type.IsString(); |
LInstruction* branch = new (zone()) LBranch(UseRegister(value)); |
if (!easy_case && |
- ((!expected.Contains(ToBooleanStub::SMI) && expected.NeedsMap()) || |
+ ((!expected.Contains(ToBooleanICStub::SMI) && expected.NeedsMap()) || |
!expected.IsGeneric())) { |
branch = AssignEnvironment(branch); |
} |