-
xan@webkit.org authored
Reviewed by Gavin Barraclough. Remove unused isString() case in JSString::toPrimitiveString() https://bugs.webkit.org/show_bug.cgi?id=52167 We never call toPrimitiveString() with strings, so remove the check and add an ASSERT ensuring this never happens. 0.7% overall progression in sunspider, since one of the call sites is very hot. * runtime/JSString.h: (JSC::JSValue::toPrimitiveString): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4a2d85ba