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_SMALL_POINTER_LIST_H_ | 5 #ifndef V8_SMALL_POINTER_LIST_H_ |
6 #define V8_SMALL_POINTER_LIST_H_ | 6 #define V8_SMALL_POINTER_LIST_H_ |
7 | 7 |
8 #include "src/base/logging.h" | 8 #include "src/base/logging.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 #include "src/zone.h" | 10 #include "src/zone.h" |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 PointerList* list() const { | 163 PointerList* list() const { |
164 DCHECK((data_ & kTagMask) == kListTag); | 164 DCHECK((data_ & kTagMask) == kListTag); |
165 return reinterpret_cast<PointerList*>(data_ & kValueMask); | 165 return reinterpret_cast<PointerList*>(data_ & kValueMask); |
166 } | 166 } |
167 | 167 |
168 intptr_t data_; | 168 intptr_t data_; |
169 | 169 |
170 DISALLOW_COPY_AND_ASSIGN(SmallPointerList); | 170 DISALLOW_COPY_AND_ASSIGN(SmallPointerList); |
171 }; | 171 }; |
172 | 172 |
173 } } // namespace v8::internal | 173 } // namespace internal |
| 174 } // namespace v8 |
174 | 175 |
175 #endif // V8_SMALL_POINTER_LIST_H_ | 176 #endif // V8_SMALL_POINTER_LIST_H_ |
OLD | NEW |