diff options
| author | Aurelien Jarno | 2015-07-27 12:41:44 +0200 |
|---|---|---|
| committer | Richard Henderson | 2015-08-24 20:10:53 +0200 |
| commit | b41059dd9deec367a4ccd296659f0bc5de2dc705 (patch) | |
| tree | 9064322591f7d9675170ce0c8be1874b0da7fe1e /blockdev.c | |
| parent | tcg/optimize: add temp_is_const and temp_is_copy functions (diff) | |
| download | qemu-b41059dd9deec367a4ccd296659f0bc5de2dc705.tar.gz qemu-b41059dd9deec367a4ccd296659f0bc5de2dc705.tar.xz qemu-b41059dd9deec367a4ccd296659f0bc5de2dc705.zip | |
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 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
