LGTM On Fri, Dec 24, 2010 at 5:39 PM, <[email protected]> wrote: > Reviewers: antonm, > > Description: > Force inlining of BodyVisitorBase::IteratePointers. > > Please review this at http://codereview.chromium.org/6042007/ > > Affected files: > M src/objects-visiting.h > > > Index: src/objects-visiting.h > diff --git a/src/objects-visiting.h b/src/objects-visiting.h > index > 55a0a53affb21d86e50190b276b9bee3026ec72f..6510ca8029bd4a56bda2409bd927ed02a07fa11a > 100644 > --- a/src/objects-visiting.h > +++ b/src/objects-visiting.h > @@ -186,9 +186,9 @@ class VisitorDispatchTable { > template<typename StaticVisitor> > class BodyVisitorBase : public AllStatic { > public: > - static inline void IteratePointers(HeapObject* object, > + INLINE(static void IteratePointers(HeapObject* object, > int start_offset, > - int end_offset) { > + int end_offset)) { > Object** start_slot = reinterpret_cast<Object**>(object->address() + > start_offset); > Object** end_slot = reinterpret_cast<Object**>(object->address() + > > >
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
