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

Unified Diff: vm/raw_object.h

Issue 10025003: Revert change 6302 until the compiler warning is addressed. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 8 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 | « vm/pages.cc ('k') | vm/raw_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/raw_object.h
===================================================================
--- vm/raw_object.h (revision 6302)
+++ vm/raw_object.h (working copy)
@@ -127,7 +127,6 @@
VISITOR_SUPPORT(object) \
friend class object; \
friend class RawObject; \
- friend class Heap; \
DISALLOW_ALLOCATION(); \
DISALLOW_IMPLICIT_CONSTRUCTORS(Raw##object)
@@ -252,7 +251,6 @@
void Validate() const;
intptr_t VisitPointers(ObjectPointerVisitor* visitor);
- bool FindObject(FindObjectVisitor* visitor);
static RawObject* FromAddr(uword addr) {
// We expect the untagged address here.
@@ -293,10 +291,8 @@
intptr_t SizeFromClass() const;
- friend class Heap;
friend class Object;
friend class Array;
- friend class RawInstructions;
friend class SnapshotWriter;
friend class SnapshotReader;
friend class MarkingVisitor;
@@ -351,7 +347,6 @@
friend class Object;
friend class RawInstance;
- friend class RawInstructions;
friend RawClass* AllocateFakeClass();
friend class SnapshotReader;
};
@@ -673,9 +668,6 @@
// Variable length data follows here.
int32_t data_[0];
-
- friend class DartFrame;
- friend class StubFrame;
};
@@ -688,13 +680,7 @@
// Variable length data follows here.
uint8_t data_[0];
- // Private helper function used while visiting stack frames. The
- // code which iterates over dart frames is also called during GC and
- // is not allowed to create handles.
- static bool ContainsPC(RawObject* raw_obj, uword pc);
-
friend class RawCode;
- friend class StackFrame;
};
@@ -728,8 +714,6 @@
return reinterpret_cast<RawObject**>(&ptr()->bitmap_size_in_bytes_);
}
uword pc_; // PC corresponding to this stack map representation.
- intptr_t min_set_bit_offset_; // Minimum bit offset which is set.
- intptr_t max_set_bit_offset_; // Maximum bit offset which is set.
// Variable length data follows here (bitmap of the stack layout).
uint8_t data_[0];
@@ -1050,7 +1034,6 @@
return reinterpret_cast<RawObject**>(&ptr()->data()[length - 1]);
}
- friend class RawCode;
friend class RawImmutableArray;
friend class SnapshotReader;
friend class GrowableObjectArray;
« no previous file with comments | « vm/pages.cc ('k') | vm/raw_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698