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

Side by Side Diff: src/property.h

Issue 2601643002: [runtime] Add MapUpdater class that manages all kinds of map updates. (Closed)
Patch Set: Addressing comments 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
« no previous file with comments | « src/objects-inl.h ('k') | src/property-details.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 Representation representation, int field_index = 0) 78 Representation representation, int field_index = 0)
79 : key_(key), 79 : key_(key),
80 value_(value), 80 value_(value),
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 }; 89 };
89 90
90 std::ostream& operator<<(std::ostream& os, const Descriptor& d); 91 std::ostream& operator<<(std::ostream& os, const Descriptor& d);
91 92
92 } // namespace internal 93 } // namespace internal
93 } // namespace v8 94 } // namespace v8
94 95
95 #endif // V8_PROPERTY_H_ 96 #endif // V8_PROPERTY_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/property-details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698