Ignore:
Timestamp:
Feb 10, 2006, 10:47:25 AM (19 years ago)
Author:
ggaren
Message:

Reviewed by Darin.

  • Inlined RefPtr assignment operators. .7% performance win on super-accurate JS iBench.
  • kxmlcore/RefPtr.h: (KXMLCore::::operator):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kxmlcore/RefPtr.h

    r12317 r12737  
    7373    }
    7474
    75     template <typename T> RefPtr<T>& RefPtr<T>::operator=(const RefPtr<T>& o)
     75    template <typename T> inline RefPtr<T>& RefPtr<T>::operator=(const RefPtr<T>& o)
    7676    {
    7777        T* optr = o.get();
     
    8585    }
    8686   
    87     template <typename T> template <typename U> RefPtr<T>& RefPtr<T>::operator=(const RefPtr<U>& o)
     87    template <typename T> template <typename U> inline RefPtr<T>& RefPtr<T>::operator=(const RefPtr<U>& o)
    8888    {
    8989        T* optr = o.get();
Note: See TracChangeset for help on using the changeset viewer.