Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 3f84462c457a96f99f931ac6bf9dd6ebaa27d196..989f08d29ca84bbd97d0058cede112a316e00f62 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -1557,11 +1557,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, temp1, temp2, deferred->entry(), flags); |
- } else { |
- __ B(deferred->entry()); |
- } |
+ CHECK(size <= Page::kMaxRegularHeapObjectSize); |
+ __ Allocate(size, result, temp1, temp2, deferred->entry(), flags); |
} else { |
Register size = ToRegister32(instr->size()); |
__ Sxtw(size.X(), size); |