Index: src/crankshaft/ia32/lithium-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-ia32.cc b/src/crankshaft/ia32/lithium-ia32.cc |
index a7ea51489a54c6358c0e055385258c662e0ab06b..d6117379dee07fa0a8248e98d9ca87227cdd7f6e 100644 |
--- a/src/crankshaft/ia32/lithium-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-ia32.cc |
@@ -936,15 +936,15 @@ 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(); |
LOperand* temp = !easy_case && expected.NeedsMap() ? TempRegister() : NULL; |
LInstruction* branch = new(zone()) LBranch(UseRegister(value), temp); |
if (!easy_case && |
- ((!expected.Contains(ToBooleanStub::SMI) && expected.NeedsMap()) || |
+ ((!expected.Contains(ToBooleanICStub::SMI) && expected.NeedsMap()) || |
!expected.IsGeneric())) { |
branch = AssignEnvironment(branch); |
} |