Keep references while moving other expressions into a temp
authorLars Knoll <lars.knoll@digia.com>
Sat, 8 Dec 2012 06:44:51 +0000 (22:44 -0800)
committerSimon Hausmann <simon.hausmann@digia.com>
Sat, 8 Dec 2012 16:22:23 +0000 (17:22 +0100)
commit759d70e8a4ef5d35385b3dbc6aed471f3480ea0e
treeb15f82ffb5b199bbb68a6e599fe299af9172cae2
parent6287991abb09441e6990b1e0b05f393ce2e3d08c
Keep references while moving other expressions into a temp

delete and typeof need to get correct references as arguments.
But we still need to evaluate other expressions correctly. The
best way to do that is to store them in a temp.

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