summaryrefslogtreecommitdiffstats
path: root/dma-helpers.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2015-07-27 12:41:44 +0200
committerRichard Henderson <rth@twiddle.net>2015-08-24 11:10:53 -0700
commitb41059dd9deec367a4ccd296659f0bc5de2dc705 (patch)
tree9064322591f7d9675170ce0c8be1874b0da7fe1e /dma-helpers.c
parentd9c769c60948815ee03b2684b1c1c68ee4375149 (diff)
downloadhqemu-b41059dd9deec367a4ccd296659f0bc5de2dc705.zip
hqemu-b41059dd9deec367a4ccd296659f0bc5de2dc705.tar.gz
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>
Diffstat (limited to 'dma-helpers.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud