Make the QML-VME interpreter "threading"-friendly
authorKent Hansen <kent.hansen@nokia.com>
Mon, 19 Sep 2011 11:21:54 +0000 (13:21 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 22 Sep 2011 07:42:43 +0000 (09:42 +0200)
commit7edf2597d15d2f913d9d59815f45170888de7f78
treef89eb7253d4c6f5e814b60ae164fbbf34db861b6
parent9fde7c1723c316a4207ef28e12744c260c883071
Make the QML-VME interpreter "threading"-friendly

Get rid of the while (something); use labels and gotos instead.
This is done in preparation of making the interpreter threaded
(i.e. using computed goto to chain instructions together).

Change-Id: I8f41e5e8295db939225547364dec3f7466f71a2b
Reviewed-on: http://codereview.qt-project.org/5245
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
src/declarative/qml/qdeclarativevme.cpp