-
andreas.kling@nokia.com authored
Reviewed by Geoffrey Garen. JSC: Move the static_cast into to(U)Int32 fast case https://bugs.webkit.org/show_bug.cgi?id=44037 Do the static_cast<(u)int32_t> inline to avoid the function call overhead for easily converted values (within (u)int32_t range.) * runtime/JSValue.cpp: (JSC::toInt32SlowCase): (JSC::toUInt32SlowCase): * runtime/JSValue.h: (JSC::JSValue::toInt32): (JSC::JSValue::toUInt32): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
27c09964