Use a new and empty cleanup list for try statements when entering a function
authorLars Knoll <lars.knoll@digia.com>
Wed, 12 Dec 2012 17:35:42 +0000 (18:35 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Wed, 12 Dec 2012 09:05:52 +0000 (10:05 +0100)
commitd597083c012274d9a591e0805e2d892393cc9e89
tree0490726341d490b3c516c32934525769173ef997
parent3c397f6b2afabe7323141dd68cfb38d66761fc3f
Use a new and empty cleanup list for try statements when entering a function

The cleanup list is local to a function definition. Otherwise inner functions
would create cleanup code for try statements in outer functions leading
to crashes.

Change-Id: I5d35893b0ea6b0692cda44d5b34b0bb3dfc93fdd
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qv4codegen.cpp