OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PROPERTY_H_ | 5 #ifndef V8_PROPERTY_H_ |
6 #define V8_PROPERTY_H_ | 6 #define V8_PROPERTY_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/factory.h" | 10 #include "src/factory.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 details_(attributes, type, representation, field_index) { | 81 details_(attributes, type, representation, field_index) { |
82 DCHECK(key->IsUniqueName()); | 82 DCHECK(key->IsUniqueName()); |
83 DCHECK_IMPLIES(key->IsPrivate(), !details_.IsEnumerable()); | 83 DCHECK_IMPLIES(key->IsPrivate(), !details_.IsEnumerable()); |
84 } | 84 } |
85 | 85 |
86 friend class DescriptorArray; | 86 friend class DescriptorArray; |
87 friend class Map; | 87 friend class Map; |
88 friend class MapUpdater; | 88 friend class MapUpdater; |
89 }; | 89 }; |
90 | 90 |
91 std::ostream& operator<<(std::ostream& os, const Descriptor& d); | |
92 | |
93 } // namespace internal | 91 } // namespace internal |
94 } // namespace v8 | 92 } // namespace v8 |
95 | 93 |
96 #endif // V8_PROPERTY_H_ | 94 #endif // V8_PROPERTY_H_ |
OLD | NEW |