| Index: src/string-stream.cc
|
| diff --git a/src/string-stream.cc b/src/string-stream.cc
|
| index 930ce3dff535b182c6949c207163159ef1f3d014..df481530e48cd518ffdc734464aa34025b26d598 100644
|
| --- a/src/string-stream.cc
|
| +++ b/src/string-stream.cc
|
| @@ -17,13 +17,6 @@ char* HeapStringAllocator::allocate(unsigned bytes) {
|
| }
|
|
|
|
|
| -NoAllocationStringAllocator::NoAllocationStringAllocator(char* memory,
|
| - unsigned size) {
|
| - size_ = size;
|
| - space_ = memory;
|
| -}
|
| -
|
| -
|
| bool StringStream::Put(char c) {
|
| if (full()) return false;
|
| ASSERT(length_ < capacity_);
|
| @@ -555,12 +548,4 @@ char* HeapStringAllocator::grow(unsigned* bytes) {
|
| }
|
|
|
|
|
| -// Only grow once to the maximum allowable size.
|
| -char* NoAllocationStringAllocator::grow(unsigned* bytes) {
|
| - ASSERT(size_ >= *bytes);
|
| - *bytes = size_;
|
| - return space_;
|
| -}
|
| -
|
| -
|
| } } // namespace v8::internal
|
|
|