Mask rhs of shift operations in the IR for constants
authorLars Knoll <lars.knoll@digia.com>
Fri, 7 Feb 2014 21:29:13 +0000 (22:29 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 22 Feb 2014 12:48:45 +0000 (13:48 +0100)
commit346382c36c2ac114ce3fab41545f5a8386838264
tree74020bc610982250ea874d3427e619f318769d67
parent61c682b410707ca610e92d4f6934e01f6233a6a8
Mask rhs of shift operations in the IR for constants

Saves an instruction for shifts with contants

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