diff options
| author | Paolo Bonzini | 2015-12-09 10:06:31 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2015-12-17 17:33:48 +0100 |
| commit | eb7eeb88628074207dd611472e712af775985e73 (patch) | |
| tree | 9c7716bae80dc9d3eb21a6798b338fe9d2d162a8 /include/exec | |
| parent | memory: avoid unnecessary object_ref/unref (diff) | |
| download | qemu-eb7eeb88628074207dd611472e712af775985e73.tar.gz qemu-eb7eeb88628074207dd611472e712af775985e73.tar.xz qemu-eb7eeb88628074207dd611472e712af775985e73.zip | |
memory: split address_space_read and address_space_write
Rather than dispatching on is_write for every iteration, make
address_space_rw call one of the two functions. The amount of
duplicate logic is pretty small, and memory_access_is_direct can
be tweaked so that it inlines better in the callers.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
