| Index: regexp2000/src/heap.h
|
| diff --git a/regexp2000/src/heap.h b/regexp2000/src/heap.h
|
| index d89caf93d1eee701cf1d2f780af24dad69808cfe..bc288c6f4e3dcb2c2f7032ada39396b0f001aac9 100644
|
| --- a/regexp2000/src/heap.h
|
| +++ b/regexp2000/src/heap.h
|
| @@ -383,7 +383,13 @@ class Heap : public AllStatic {
|
| // Allocate a byte array of the specified length
|
| // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
|
| // failed.
|
| - // Please not this does not perform a garbage collection.
|
| + // Please note this does not perform a garbage collection.
|
| + static Object* AllocateByteArray(int length, PretenureFlag pretenure);
|
| +
|
| + // Allocate a non-tenured byte array of the specified length
|
| + // Returns Failure::RetryAfterGC(requested_bytes, space) if the allocation
|
| + // failed.
|
| + // Please note this does not perform a garbage collection.
|
| static Object* AllocateByteArray(int length);
|
|
|
| // Allocates a fixed array initialized with undefined values
|
|
|