From cfd86b747d32ac22246a1aa908eaa720c63a88c1 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 7 Nov 2012 11:22:47 +0100 Subject: Imported WebKit commit 20271caf2e2c016d5cef40184cddeefeac4f1876 (http://svn.webkit.org/repository/webkit/trunk@133733) New snapshot that contains all previous fixes as well as build fix for latest QtMultimedia API changes. --- Source/JavaScriptCore/runtime/Structure.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/JavaScriptCore/runtime/Structure.h') diff --git a/Source/JavaScriptCore/runtime/Structure.h b/Source/JavaScriptCore/runtime/Structure.h index 5f1299766..2b25803a6 100644 --- a/Source/JavaScriptCore/runtime/Structure.h +++ b/Source/JavaScriptCore/runtime/Structure.h @@ -521,6 +521,11 @@ namespace JSC { return m_structure->typeInfo().type() == GetterSetterType; } + inline bool JSCell::isProxy() const + { + return structure()->typeInfo().type() == ProxyType; + } + inline bool JSCell::isAPIValueWrapper() const { return m_structure->typeInfo().type() == APIValueWrapperType; -- cgit v1.2.1