Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 013c7c0651edd76a7f2523cc02c5aef361d4b8d9..b8b39c94445333c816d03d27fcf38340ab3dc5c5 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1639,7 +1639,7 @@ void MacroAssembler::Allocate(int object_size, |
Register scratch2, |
Label* gc_required, |
AllocationFlags flags) { |
- ASSERT(object_size <= Page::kMaxNonCodeHeapObjectSize); |
+ ASSERT(object_size <= Page::kMaxRegularHeapObjectSize); |
if (!FLAG_inline_new) { |
if (emit_debug_code()) { |
// Trash the registers to simulate an allocation failure. |