Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index 67aa295fca13e5ea0cafd432485b43bfee9a3cfc..6b1e946ddb1ee22eb697f791b38640a489ca1079 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -5799,11 +5799,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, temp, no_reg, deferred->entry(), flags); |
- } else { |
- __ jmp(deferred->entry()); |
- } |
+ CHECK(size <= Page::kMaxRegularHeapObjectSize); |
+ __ Allocate(size, result, temp, no_reg, deferred->entry(), flags); |
} else { |
Register size = ToRegister(instr->size()); |
__ Allocate(size, result, temp, no_reg, deferred->entry(), flags); |