src/Heap-inl.h
changeset 256 3c184218462d
parent 93 23189d937087
     1.1 --- a/src/Heap-inl.h	Tue Jan 01 20:08:34 2013 -0800
     1.2 +++ b/src/Heap-inl.h	Sun Jan 06 13:52:21 2013 -0800
     1.3 @@ -75,7 +75,7 @@
     1.4      size_t actualBytes = Align(bytes, kObjectAlignment);
     1.5  
     1.6      // All objects must be at least two words.
     1.7 -    assert(actualBytes >= sizeof(Object *) * 2);
     1.8 +    assert(actualBytes >= kMinObjectSize);
     1.9  
    1.10      Address address = newObject(actualBytes, age);
    1.11      if (!address) {