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 2960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2971 int count; | 2971 int count; |
2972 void Clear() { | 2972 void Clear() { |
2973 comment = NULL; | 2973 comment = NULL; |
2974 size = 0; | 2974 size = 0; |
2975 count = 0; | 2975 count = 0; |
2976 } | 2976 } |
2977 // Must be small, since an iteration is used for lookup. | 2977 // Must be small, since an iteration is used for lookup. |
2978 static const int kMaxComments = 64; | 2978 static const int kMaxComments = 64; |
2979 }; | 2979 }; |
2980 #endif | 2980 #endif |
2981 } | 2981 } // namespace internal |
2982 } // namespace v8::internal | 2982 } // namespace v8 |
2983 | 2983 |
2984 #endif // V8_HEAP_SPACES_H_ | 2984 #endif // V8_HEAP_SPACES_H_ |
OLD | NEW |