]> Git Repo - qemu.git/commit
memory: inline some performance-sensitive accessors
authorPaolo Bonzini <[email protected]>
Sun, 4 Mar 2018 23:31:20 +0000 (00:31 +0100)
committerPaolo Bonzini <[email protected]>
Tue, 6 Mar 2018 13:01:27 +0000 (14:01 +0100)
commit785a507ec78bbda1c346f3d3593e5a58b62e73ef
treeae204064aeadb7e998d606cd41c1484e47636a6c
parent80d2b933f9fe3e53d4f76a45a1bc1a0175669468
memory: inline some performance-sensitive accessors

These accessors are called from inlined functions, and the call sequence
is much more expensive than just inlining the access.  Move the
struct declaration to memory-internal.h so that exec.c and memory.c
can both use an inline function.

Reviewed-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
include/exec/memory-internal.h
include/exec/memory.h
memory.c
This page took 0.025576 seconds and 4 git commands to generate.