| Index: src/crankshaft/s390/lithium-s390.cc
|
| diff --git a/src/crankshaft/s390/lithium-s390.cc b/src/crankshaft/s390/lithium-s390.cc
|
| index e219c404865e95b98b6235ee53155ff60b3fb264..510725eaab835808ec2825fcd973fa3ac602b4d3 100644
|
| --- a/src/crankshaft/s390/lithium-s390.cc
|
| +++ b/src/crankshaft/s390/lithium-s390.cc
|
| @@ -839,14 +839,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);
|
| }
|
|
|