Index: src/crankshaft/mips64/lithium-mips64.cc |
diff --git a/src/crankshaft/mips64/lithium-mips64.cc b/src/crankshaft/mips64/lithium-mips64.cc |
index fc172d53990942426b05e79c0ada484461c90b0a..e76053189391f55494c8d0bbe9a18df94d0a093c 100644 |
--- a/src/crankshaft/mips64/lithium-mips64.cc |
+++ b/src/crankshaft/mips64/lithium-mips64.cc |
@@ -914,14 +914,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); |
} |