summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/API/JSValueRef.h
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-10-23 06:08:56 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-10-23 10:18:25 (GMT)
commitb119fd7f3fca35fba80b554778581ffba0a68a62 (patch)
treeff4215aaaff9265b0c4281cd163e16b6c1955452 /src/3rdparty/webkit/JavaScriptCore/API/JSValueRef.h
parent73b14bae17d1bb84c89ca2a908f2cc105dcda015 (diff)
downloadQt-b119fd7f3fca35fba80b554778581ffba0a68a62.zip
Qt-b119fd7f3fca35fba80b554778581ffba0a68a62.tar.gz
Qt-b119fd7f3fca35fba80b554778581ffba0a68a62.tar.bz2
Avoid calls to public QScriptValue::engine() function
Calls to engine() are mostly done for checking that the "source" and "target" engines are the same, but we don't want those checks to slow us down. Use an inline getEngine() function instead. This makes e.g. QScriptValue::call() ~10% faster for a function like "function(a, b) { return a + b; }". Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/API/JSValueRef.h')
0 files changed, 0 insertions, 0 deletions