diff options
Diffstat (limited to 'Source/JavaScriptCore/heap/PassWeak.h')
-rw-r--r-- | Source/JavaScriptCore/heap/PassWeak.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/heap/PassWeak.h b/Source/JavaScriptCore/heap/PassWeak.h index 8c6364e4b..acd6e52c7 100644 --- a/Source/JavaScriptCore/heap/PassWeak.h +++ b/Source/JavaScriptCore/heap/PassWeak.h @@ -46,9 +46,7 @@ public: T& operator*() const; GetType get() const; -#if !ASSERT_DISABLED bool was(GetType) const; -#endif }; template<typename T> class PassWeak : public WeakImplAccessor<PassWeak<T>, T> { @@ -102,12 +100,10 @@ template<typename Base, typename T> inline typename WeakImplAccessor<Base, T>::G return jsCast<T*>(static_cast<const Base*>(this)->m_impl->jsValue().asCell()); } -#if !ASSERT_DISABLED template<typename Base, typename T> inline bool WeakImplAccessor<Base, T>::was(typename WeakImplAccessor<Base, T>::GetType other) const { return jsCast<T*>(static_cast<const Base*>(this)->m_impl->jsValue().asCell()) == other; } -#endif template<typename T> inline PassWeak<T>::PassWeak() : m_impl(0) |