Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index b083f8abd45a9ebaf3f8762d4ef8b5d439cd02ae..dfb18c7c4f6ebd2c94c18fdeddca66d4b89cd6b1 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -5372,11 +5372,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); |