| Index: src/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc
|
| index b9b67d9bbd01b1d5a5ce108e753d64d1f6fdd6eb..b900e86a14ec75e29d459a8d492029960356e8bf 100644
|
| --- a/src/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/arm64/lithium-codegen-arm64.cc
|
| @@ -1570,7 +1570,8 @@ void LCodeGen::DoAllocate(LAllocate* instr) {
|
|
|
| if (instr->size()->IsConstantOperand()) {
|
| int32_t size = ToInteger32(LConstantOperand::cast(instr->size()));
|
| - if (size <= Page::kMaxRegularHeapObjectSize) {
|
| + if (static_cast<uint32_t>(size) <=
|
| + static_cast<uint32_t>(Page::kMaxRegularHeapObjectSize)) {
|
| __ Allocate(size, result, temp1, temp2, deferred->entry(), flags);
|
| } else {
|
| __ B(deferred->entry());
|
|
|