diff options
author | ths | 2008-06-27 12:02:35 +0200 |
---|---|---|
committer | ths | 2008-06-27 12:02:35 +0200 |
commit | b5dc7732e1cc2fb549e48b7b5d664f2c79628e2e (patch) | |
tree | e18d7e7fc4e2fc9bad326022331c17c2800a8bbb /cpu-exec.c | |
parent | Fix bogus format, reading uninitialised memory (original patch by Julian Seward) (diff) | |
download | qemu-b5dc7732e1cc2fb549e48b7b5d664f2c79628e2e.tar.gz qemu-b5dc7732e1cc2fb549e48b7b5d664f2c79628e2e.tar.xz qemu-b5dc7732e1cc2fb549e48b7b5d664f2c79628e2e.zip |
More efficient target register / TC accesses.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4794 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index b8c208b41e..9d00cffb5e 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -197,7 +197,7 @@ static inline TranslationBlock *tb_find_fast(void) #elif defined(TARGET_MIPS) flags = env->hflags & (MIPS_HFLAG_TMASK | MIPS_HFLAG_BMASK); cs_base = 0; - pc = env->PC[env->current_tc]; + pc = env->active_tc.PC; #elif defined(TARGET_M68K) flags = (env->fpcr & M68K_FPCR_PREC) /* Bit 6 */ | (env->sr & SR_S) /* Bit 13 */ |