Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index b9286b7f64b9d9a3fb07827d099aeb46c9bd29cf..203ebae3835273f7f4eff9cd7e7f545a7276aa2a 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -5181,17 +5181,14 @@ void LCodeGen::DoAllocate(LAllocate* instr) { |
flags = static_cast<AllocationFlags>(flags | DOUBLE_ALIGNMENT); |
} |
if (instr->hydrogen()->IsOldSpaceAllocation()) { |
- DCHECK(!instr->hydrogen()->IsNewSpaceAllocation()); |
+ CHECK(!instr->hydrogen()->IsNewSpaceAllocation()); |
Michael Starzinger
2015/10/13 18:30:28
Is this on purpose? Or did it slip in? Maybe TODO
Hannes Payer (out of office)
2015/10/13 18:58:14
Done.
|
flags = static_cast<AllocationFlags>(flags | PRETENURE); |
} |
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()); |
- } |
+ DCHECK(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); |