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

Unified Diff: src/objects.h

Issue 10411067: TraversableMap only dependent on DescriptorArray (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing comments Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/objects.cc » ('j') | src/objects.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 4fd29ad56227d368d2ebb0773c566f6cba3909b0..ba4a88ca8c9c972a8f0919cb1385e23231431fff 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -2420,6 +2420,8 @@ class IncrementalMarking;
//
class DescriptorArray: public FixedArray {
public:
+ friend class IntrusiveMapTransitionIterator;
Michael Starzinger 2012/05/25 12:18:00 Move that to the bottom of the class (or at least
Toon Verwaest 2012/05/25 12:32:09 Done.
+
// Returns true for both shared empty_descriptor_array and for smis, which the
// map uses to encode additional bit fields when the descriptor array is not
// yet used.
@@ -2475,6 +2477,7 @@ class DescriptorArray: public FixedArray {
inline String* GetKey(int descriptor_number);
inline Object* GetValue(int descriptor_number);
inline PropertyDetails GetDetails(int descriptor_number);
+
Michael Starzinger 2012/05/25 12:18:00 Remove this empty line.
Toon Verwaest 2012/05/25 12:32:09 Done.
inline PropertyType GetType(int descriptor_number);
inline int GetFieldIndex(int descriptor_number);
inline JSFunction* GetConstantFunction(int descriptor_number);
@@ -2650,6 +2653,7 @@ class DescriptorArray: public FixedArray {
FixedArray* GetContentArray() {
return FixedArray::cast(get(kContentArrayIndex));
}
+
DISALLOW_IMPLICIT_CONSTRUCTORS(DescriptorArray);
};
« no previous file with comments | « no previous file | src/objects.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698