add assertions about env->current_tb
commit34dec6a5608e3a878966fb0c0369a0dbbf6e3d9b
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 15 Jan 2010 08:42:08 +0000 (15 09:42 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 19 Jan 2010 22:31:03 +0000 (19 16:31 -0600)
tree6f0c005b947b9dcdffb3e923565557c312e46dde
parent1c3569fe4e4e3783b7813f450fa699d3f552e44f
add assertions about env->current_tb

By virtue of the previous patch env->current_tb will always be NULL at
the top of cpu_exec's outermost for loop, and at the end of the innermost
while loop.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cpu-exec.c