Mark throwing functions as no-return.
authorErik Verbruggen <erik.verbruggen@digia.com>
Wed, 27 Feb 2013 11:18:51 +0000 (12:18 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Wed, 27 Feb 2013 11:47:57 +0000 (12:47 +0100)
commit048f896a983aba86c603497dd7f7d23f801bcbf4
tree7196126ddf4aa4aac0b44cb654690aee8d7fc921
parent3ad3a6e838ab4f236a032dac67abae9183cb32b9
Mark throwing functions as no-return.

Now the compiler cannot only optimise for this, but also stop complaining
about callers not returning any value.

Change-Id: I71d98721f70849178613096408e959d7e24dca8a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/v4/qmljs_environment.h
src/v4/qmljs_runtime.h