OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 #ifndef V8_HEAP_SPACES_H_ | 5 #ifndef V8_HEAP_SPACES_H_ |
6 #define V8_HEAP_SPACES_H_ | 6 #define V8_HEAP_SPACES_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/atomic-utils.h" | 9 #include "src/atomic-utils.h" |
10 #include "src/base/atomicops.h" | 10 #include "src/base/atomicops.h" |
(...skipping 2955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2966 int count; | 2966 int count; |
2967 void Clear() { | 2967 void Clear() { |
2968 comment = NULL; | 2968 comment = NULL; |
2969 size = 0; | 2969 size = 0; |
2970 count = 0; | 2970 count = 0; |
2971 } | 2971 } |
2972 // Must be small, since an iteration is used for lookup. | 2972 // Must be small, since an iteration is used for lookup. |
2973 static const int kMaxComments = 64; | 2973 static const int kMaxComments = 64; |
2974 }; | 2974 }; |
2975 #endif | 2975 #endif |
2976 } | 2976 } // namespace internal |
2977 } // namespace v8::internal | 2977 } // namespace v8 |
2978 | 2978 |
2979 #endif // V8_HEAP_SPACES_H_ | 2979 #endif // V8_HEAP_SPACES_H_ |
OLD | NEW |