Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/property.h

Issue 2627003005: [printing] Remove duplicate code that prints property details. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/property.cc » ('j') | src/property.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698