Replace duplicated code by a function call.
authorJedrzej Nowacki <jedrzej.nowacki@nokia.com>
Thu, 4 Aug 2011 09:12:48 +0000 (11:12 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 10 Aug 2011 10:49:21 +0000 (12:49 +0200)
commit26f31e663f56ab60f620ccf50005e6c85b654242
tree90d82a273d145877579fe714894252fabc4756f4
parent939f74ca4a5ff1df30c7fcd167fd6fb15945c6ab
Replace duplicated code by a function call.

According to comment the code was copied from QtScript. As the
implementation is merged to QtDeclarative we can use common code path.

Change-Id: Id603ef0207a1356f8c010a35fe601568a03aac48
Reviewed-on: http://codereview.qt.nokia.com/2699
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
src/declarative/qml/v8/qv8engine.cpp