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 #ifndef V8_PROPERTY_DETAILS_H_ | 5 #ifndef V8_PROPERTY_DETAILS_H_ |
6 #define V8_PROPERTY_DETAILS_H_ | 6 #define V8_PROPERTY_DETAILS_H_ |
7 | 7 |
8 #include "include/v8.h" | 8 #include "include/v8.h" |
9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
10 #include "src/utils.h" | 10 #include "src/utils.h" |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 value_ = RepresentationField::update( | 288 value_ = RepresentationField::update( |
289 value, EncodeRepresentation(representation)); | 289 value, EncodeRepresentation(representation)); |
290 } | 290 } |
291 PropertyDetails(int value, PropertyAttributes attributes) { | 291 PropertyDetails(int value, PropertyAttributes attributes) { |
292 value_ = AttributesField::update(value, attributes); | 292 value_ = AttributesField::update(value, attributes); |
293 } | 293 } |
294 | 294 |
295 uint32_t value_; | 295 uint32_t value_; |
296 }; | 296 }; |
297 | 297 |
| 298 |
| 299 std::ostream& operator<<(std::ostream& os, |
| 300 const PropertyAttributes& attributes); |
| 301 std::ostream& operator<<(std::ostream& os, const PropertyDetails& details); |
298 } } // namespace v8::internal | 302 } } // namespace v8::internal |
299 | 303 |
300 #endif // V8_PROPERTY_DETAILS_H_ | 304 #endif // V8_PROPERTY_DETAILS_H_ |
OLD | NEW |