Add Throw instruction to the V4 virtual machine
authorRoberto Raggi <roberto.raggi@nokia.com>
Mon, 2 Apr 2012 14:35:51 +0000 (16:35 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 3 Apr 2012 14:22:04 +0000 (16:22 +0200)
commit66e6b017190df4216d765da8c09a2e75501e38b4
tree6a3267b91139881a5c3f864d0540827136fd83ef
parent373d78837d1d5049c5b1c2790d6f4023e6ecf974
Add Throw instruction to the V4 virtual machine

Also, throw an exception when trying to assign something that is not
a QUrl or a QString to a QUrl.

Change-Id: Ic48fd519c8318d391706ebca1955a5dd2ef6e80e
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/qml/qml/v4/qv4bindings.cpp
src/qml/qml/v4/qv4compiler.cpp
src/qml/qml/v4/qv4compiler_p_p.h
src/qml/qml/v4/qv4instruction.cpp
src/qml/qml/v4/qv4instruction_p.h
src/qml/qml/v4/qv4ir.cpp
src/qml/qml/v4/qv4ir_p.h