]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/optimize: track const/copy status separately
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 27 Jul 2015 10:41:44 +0000 (12:41 +0200)
committerRichard Henderson <rth@twiddle.net>
Mon, 24 Aug 2015 18:10:53 +0000 (11:10 -0700)
commitb41059dd9deec367a4ccd296659f0bc5de2dc705
tree9064322591f7d9675170ce0c8be1874b0da7fe1e
parentd9c769c60948815ee03b2684b1c1c68ee4375149
tcg/optimize: track const/copy status separately

Instead of using an enum which could be either a copy or a const, track
them separately. This will be used in the next patch.

Constants are tracked through a bool. Copies are tracked by initializing
temp's next_copy and prev_copy to itself, allowing to simplify the code
a bit.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/optimize.c