Correctly set up nested functions
authorLars Knoll <lars.knoll@digia.com>
Thu, 13 Dec 2012 11:09:04 +0000 (12:09 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Thu, 13 Dec 2012 11:38:11 +0000 (12:38 +0100)
commit9edd6967753c16512c8c589f3dedcae02687070a
treea8c4460d5c556fa9b087c229ba88dd68980ce9ef
parentd6fcbdbf5182dcd549ef685cfeb2e3e90d3e81c7
Correctly set up nested functions

Make sure we have the correct set of nested functions in
both IR::Function and VM::Function. This is required so
that closures can work correctly.

Change-Id: I42493d5ee503090653b71650c8d19e06c4bcfdda
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
moth/qv4isel_moth.cpp
moth/qv4isel_moth_p.h
qmljs_objects.cpp
qv4codegen.cpp
qv4ecmaobjects.cpp
qv4ir.cpp
qv4ir_p.h
qv4isel_masm.cpp
qv4isel_masm_p.h
qv4isel_p.cpp
qv4isel_p.h