OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/base/atomicops.h" | 7 #include "src/base/atomicops.h" |
8 #include "src/base/bits.h" | 8 #include "src/base/bits.h" |
9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
10 #include "src/compilation-cache.h" | 10 #include "src/compilation-cache.h" |
(...skipping 4645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4656 | 4656 |
4657 void SlotsBufferAllocator::DeallocateChain(SlotsBuffer** buffer_address) { | 4657 void SlotsBufferAllocator::DeallocateChain(SlotsBuffer** buffer_address) { |
4658 SlotsBuffer* buffer = *buffer_address; | 4658 SlotsBuffer* buffer = *buffer_address; |
4659 while (buffer != NULL) { | 4659 while (buffer != NULL) { |
4660 SlotsBuffer* next_buffer = buffer->next(); | 4660 SlotsBuffer* next_buffer = buffer->next(); |
4661 DeallocateBuffer(buffer); | 4661 DeallocateBuffer(buffer); |
4662 buffer = next_buffer; | 4662 buffer = next_buffer; |
4663 } | 4663 } |
4664 *buffer_address = NULL; | 4664 *buffer_address = NULL; |
4665 } | 4665 } |
4666 } | 4666 } // namespace internal |
4667 } // namespace v8::internal | 4667 } // namespace v8 |
OLD | NEW |