Get rid of the tmpProperty in StringObject
authorLars Knoll <lars.knoll@theqtcompany.com>
Thu, 30 Apr 2015 21:50:50 +0000 (23:50 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Wed, 17 Jun 2015 09:03:46 +0000 (09:03 +0000)
commit81d8e36c1732854a0c6b0312c0bf42804d30192e
tree0ab2458bdeaa03e81bd29107547e7cc714fd233c
parenta4aa358acf763469bf46244c7f5a3a358c038a81
Get rid of the tmpProperty in StringObject

This was a bad hack. The new code is cleaner, and should
also perform faster in a couple of cases (avoiding the creation
of a temporary String that is then only thrown away).

Change-Id: Ia6f978e037506484adbc01a61606307d4645b343
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/qml/jsruntime/qv4object.cpp
src/qml/jsruntime/qv4object_p.h
src/qml/jsruntime/qv4stringobject.cpp
src/qml/jsruntime/qv4stringobject_p.h