Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 2e00980f16f208ada9015bea708bccac2ccc6bef..78ba28b6a6e5d14e1d618c265e6b47010bbdde70 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -1591,7 +1591,7 @@ void MacroAssembler::Allocate(int object_size, |
Label* gc_required, |
AllocationFlags flags) { |
ASSERT((flags & (RESULT_CONTAINS_TOP | SIZE_IN_WORDS)) == 0); |
- 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. |