diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-12-28 13:19:18 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-12-28 13:19:18 (GMT) |
commit | b7ac9ed56ff8bfb3158d115ea7c6e3eef250f4bc (patch) | |
tree | 38c3c0d32f41730e5e9ac8494898658c6cb78a5e /src/script | |
parent | 51e9b191bcdd172693a3cd8c69f6ae603b788ba9 (diff) | |
download | Qt-b7ac9ed56ff8bfb3158d115ea7c6e3eef250f4bc.zip Qt-b7ac9ed56ff8bfb3158d115ea7c6e3eef250f4bc.tar.gz Qt-b7ac9ed56ff8bfb3158d115ea7c6e3eef250f4bc.tar.bz2 |
Add compiler optimization for QtScript/JSC on Symbian
Ported from http://trac.webkit.org/changeset/73126.
This gives a ~70% performance improvement for the
SunSpider and V8 benchmarks.
Task-number: QTBUG-15847
Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/script.pro | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/script/script.pro b/src/script/script.pro index 4ee86d7..d1633d8 100644 --- a/src/script/script.pro +++ b/src/script/script.pro @@ -84,5 +84,15 @@ symbian { LIBS += -lhal } +symbian { + symbian-abld|symbian-sbsv2 { + MMP_RULES += ALWAYS_BUILD_AS_ARM + } else { + QMAKE_CFLAGS -= --thumb + QMAKE_CXXFLAGS -= --thumb + } + QMAKE_CXXFLAGS.ARMCC += -OTime -O3 +} + # WebKit doesn't compile in C++0x mode *-g++*:QMAKE_CXXFLAGS -= -std=c++0x -std=gnu++0x |