Index: src/mips64/lithium-codegen-mips64.cc |
diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc |
index 99b19500734bae43f2e1c2e8c576588356b979cd..e54f25d5d1cecfc2ede4d5cee5b366af11f3bbc8 100644 |
--- a/src/mips64/lithium-codegen-mips64.cc |
+++ b/src/mips64/lithium-codegen-mips64.cc |
@@ -5501,11 +5501,8 @@ void LCodeGen::DoAllocate(LAllocate* instr) { |
} |
if (instr->size()->IsConstantOperand()) { |
int32_t size = ToInteger32(LConstantOperand::cast(instr->size())); |
- if (size <= Page::kMaxRegularHeapObjectSize) { |
- __ Allocate(size, result, scratch, scratch2, deferred->entry(), flags); |
- } else { |
- __ jmp(deferred->entry()); |
- } |
+ CHECK(size <= Page::kMaxRegularHeapObjectSize); |
+ __ Allocate(size, result, scratch, scratch2, deferred->entry(), flags); |
} else { |
Register size = ToRegister(instr->size()); |
__ Allocate(size, result, scratch, scratch2, deferred->entry(), flags); |