Cleanup: Pass the function into the various SSA stages
authorLars Knoll <lars.knoll@digia.com>
Fri, 7 Feb 2014 13:40:10 +0000 (14:40 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 22 Feb 2014 09:11:15 +0000 (10:11 +0100)
commit10f1135d54bf18aed7483f7ea78150a865a0d1c3
treef655b821e160585124ea59fcf7a21c59570c6456
parentb8bb8d752639d0907922bdd4e4a944534a0a6770
Cleanup: Pass the function into the various SSA stages

Pass in the function object instead of the variablesCanEscape
flag. Cleans up the code a bit.

Change-Id: If2d24b30fb223fa03e27f75f40ad42b881b2b3a0
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/compiler/qv4ssa.cpp