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 #include "src/property.h" | 5 #include "src/property.h" |
6 | 6 |
7 #include "src/handles-inl.h" | 7 #include "src/handles-inl.h" |
8 #include "src/ostreams.h" | 8 #include "src/ostreams.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 os << "Descriptor " << Brief(*d.GetKey()) << " @ " << Brief(value) << " "; | 75 os << "Descriptor " << Brief(*d.GetKey()) << " @ " << Brief(value) << " "; |
76 if (value->IsAccessorPair()) { | 76 if (value->IsAccessorPair()) { |
77 AccessorPair* pair = AccessorPair::cast(value); | 77 AccessorPair* pair = AccessorPair::cast(value); |
78 os << "(get: " << Brief(pair->getter()) | 78 os << "(get: " << Brief(pair->getter()) |
79 << ", set: " << Brief(pair->setter()) << ") "; | 79 << ", set: " << Brief(pair->setter()) << ") "; |
80 } | 80 } |
81 os << FastPropertyDetails(d.GetDetails()); | 81 os << FastPropertyDetails(d.GetDetails()); |
82 return os; | 82 return os; |
83 } | 83 } |
84 | 84 |
85 } } // namespace v8::internal | 85 } // namespace internal |
| 86 } // namespace v8 |
OLD | NEW |