| Index: src/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc
|
| index 8f5b811820e04e45f1c88a9963a61c2532f94a24..0a44c7d820f8d8a6bb18f5d67242f77d4cc58b1f 100644
|
| --- a/src/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/arm64/lithium-codegen-arm64.cc
|
| @@ -1235,9 +1235,9 @@ Operand LCodeGen::ToOperand32(LOperand* op, IntegerSignedness signedness) {
|
| Representation r = chunk_->LookupLiteralRepresentation(const_op);
|
| if (r.IsInteger32()) {
|
| ASSERT(constant->HasInteger32Value());
|
| - return Operand(signedness == SIGNED_INT32
|
| - ? constant->Integer32Value()
|
| - : static_cast<uint32_t>(constant->Integer32Value()));
|
| + return (signedness == SIGNED_INT32)
|
| + ? Operand(constant->Integer32Value())
|
| + : Operand(static_cast<uint32_t>(constant->Integer32Value()));
|
| } else {
|
| // Other constants not implemented.
|
| Abort(kToOperand32UnsupportedImmediate);
|
|
|