x86: Minor interpreter optimization.

This commit is contained in:
Mike Pall 2015-01-05 00:04:40 +01:00
parent 9caaf6595f
commit 31e66838d8

View File

@ -5320,8 +5320,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop)
| jnz <4 | jnz <4
| movzx RA, PC_RA | movzx RA, PC_RA
| not RAa | not RAa
| lea RA, [BASE+RA*8] | mov LFUNC:KBASE, [BASE+RA*8-8] // Need to prepare KBASE.
| mov LFUNC:KBASE, [RA-8] // Need to prepare KBASE.
| mov KBASE, LFUNC:KBASE->pc | mov KBASE, LFUNC:KBASE->pc
| mov KBASE, [KBASE+PC2PROTO(k)] | mov KBASE, [KBASE+PC2PROTO(k)]
| jmp <4 | jmp <4