Initial patch.
[vuplus_webkit] / Source / JavaScriptCore / runtime / JSGlobalObject.h
index 60a45e6..e8a07e7 100644 (file)
@@ -348,7 +348,7 @@ namespace JSC {
 
     inline JSValue Structure::prototypeForLookup(ExecState* exec) const
     {
-        if (typeInfo().type() == ObjectType)
+        if (isObject())
             return m_prototype.get();
 
         ASSERT(typeInfo().type() == StringType);