| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index 1d7c8c1b0c6f86ab6bf716e788729f5c6f483968..b449d10aa94b6696ba4b8ca10d89278b7fe7f930 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -5153,7 +5153,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, temp, no_reg, deferred->entry(), flags);
|
| } else {
|
| __ jmp(deferred->entry());
|
|
|