tcg: Rearrange definitions and include statements

This change makes tcg_target_ulong available in tcg-target.h.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
master
Stefan Weil 2012-03-02 23:30:03 +01:00 committed by Blue Swirl
parent 53576999a6
commit c38bb94a99
1 changed files with 3 additions and 3 deletions

View File

@ -32,9 +32,6 @@
# error Unknown pointer size for tcg target
#endif
#include "tcg-target.h"
#include "tcg-runtime.h"
#if TCG_TARGET_REG_BITS == 32
typedef int32_t tcg_target_long;
typedef uint32_t tcg_target_ulong;
@ -49,6 +46,9 @@ typedef uint64_t tcg_target_ulong;
#error unsupported
#endif
#include "tcg-target.h"
#include "tcg-runtime.h"
#if TCG_TARGET_NB_REGS <= 32
typedef uint32_t TCGRegSet;
#elif TCG_TARGET_NB_REGS <= 64