-
msaboff@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=84781 Reviewed by Geoffrey Garen. Cache the results of object toString() in the attached Structure. * runtime/ObjectPrototype.cpp: (JSC::objectProtoFuncToString): * runtime/Structure.cpp: (JSC::Structure::visitChildren): visit new m_hasObjectToStringValue. * runtime/Structure.h: Added new member m_hasObjectToStringValue (JSC): (JSC::Structure::objectToStringValue): (Structure): (JSC::Structure::setObjectToStringValue): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8bbd1b15