On 11/11/2014 04:24 PM, Richard Henderson wrote:
The method by which we count the number of ops emitted
is going to change.  Abstract that away into some inlines.

Signed-off-by: Richard Henderson <r...@twiddle.net>
---
  target-alpha/translate.c      | 14 +++++++-------
  target-arm/translate-a64.c    |  9 +++------
  target-arm/translate.c        |  9 +++------
  target-cris/translate.c       | 13 +++++--------
  target-i386/translate.c       |  9 +++------
  target-lm32/translate.c       | 14 +++++---------
  target-m68k/translate.c       |  9 +++------
  target-microblaze/translate.c | 20 ++++++++------------
  target-mips/translate.c       |  8 +++-----
  target-moxie/translate.c      |  8 +++-----
  target-openrisc/translate.c   | 13 +++++--------
  target-ppc/translate.c        |  9 +++------
  target-s390x/translate.c      |  9 +++------
  target-sh4/translate.c        |  8 +++-----
  target-sparc/translate.c      |  8 +++-----
  target-tricore/translate.c    |  4 +---
  target-unicore32/translate.c  |  9 +++------
  target-xtensa/translate.c     |  7 +++----
  tcg/tcg.h                     | 12 ++++++++++++
  19 files changed, 79 insertions(+), 113 deletions(-)

Again, I'm quiete happy with that change, since these functions make it really clear what is happening.

Reviewed-by: Bastian Koppelmann <kbast...@mail.uni-paderborn.de>

Cheers,
Bastian

Reply via email to