aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmljs
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2014-06-27 13:40:24 +0200
committerErik Verbruggen <erik.verbruggen@digia.com>2014-07-23 11:59:44 +0200
commit07bee265d7ee4d0e8874697b488b249d79110298 (patch)
treee9851fdfa27ded324e7a94df1e4f083f5b253aa0 /tools/qmljs
parent661649edf1cd0448b4276fbf6e0a97fd5ec8c792 (diff)
V4 IR: copy arguments to temps at function start.
When arguments cannot "escape" from the current context, and when the arguments array is not used, actual arguments can be treated the same as temporaries instead of memory locations. This has the benefits that they are subject to the same optimizations, and type deduction can assume that the value/type didn't change since its assignment. Another effect is that the values can be kept in registers, and loads from the stack take only 1 indirect load instead of 2 (from the formals array). Change-Id: I209da7991ec5d903b3c5acdbcaf6b1cc67502520 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tools/qmljs')
0 files changed, 0 insertions, 0 deletions