| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index ef72560b012553ede2f4c4a20bd041d3bb32b711..ac2783cacc47bb7c28a703f7d8cc84fb01dca377 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -5333,7 +5333,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, scratch, scratch2, deferred->entry(), flags);
|
| } else {
|
| __ jmp(deferred->entry());
|
|
|