From a89b2ebb8e192c5e8cea21079bda2ee2c0c7dddd Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 25 May 2012 15:09:11 +0200 Subject: Imported WebKit commit eb5c1b8fe4d4b1b90b5137433fc58a91da0e6878 (http://svn.webkit.org/repository/webkit/trunk@118516) --- Source/JavaScriptCore/heap/PassWeak.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Source/JavaScriptCore/heap/PassWeak.h') 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 class PassWeak : public WeakImplAccessor, T> { @@ -102,12 +100,10 @@ template inline typename WeakImplAccessor::G return jsCast(static_cast(this)->m_impl->jsValue().asCell()); } -#if !ASSERT_DISABLED template inline bool WeakImplAccessor::was(typename WeakImplAccessor::GetType other) const { return jsCast(static_cast(this)->m_impl->jsValue().asCell()) == other; } -#endif template inline PassWeak::PassWeak() : m_impl(0) -- cgit v1.2.1