| Index: src/ppc/code-stubs-ppc.cc
|
| diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc
|
| index 635a7fc9e6b0e067e348e94d2617bc68cf31b4cd..c4b8af05cba6c32a3d4fda8a6b590025370010a6 100644
|
| --- a/src/ppc/code-stubs-ppc.cc
|
| +++ b/src/ppc/code-stubs-ppc.cc
|
| @@ -3563,8 +3563,8 @@ void StringHelper::GenerateCompareFlatOneByteStrings(
|
| // Conditionally update the result based either on length_delta or
|
| // the last comparion performed in the loop above.
|
| if (CpuFeatures::IsSupported(ISELECT)) {
|
| - __ li(r4, Operand(GREATER));
|
| - __ li(r5, Operand(LESS));
|
| + __ LoadSmiLiteral(r4, Smi::FromInt(GREATER));
|
| + __ LoadSmiLiteral(r5, Smi::FromInt(LESS));
|
| __ isel(eq, r3, r0, r4);
|
| __ isel(lt, r3, r5, r3);
|
| __ Ret();
|
|
|