tcg: Clean up includes

Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

Backports commit 757e725b58c57d3ebb66a31fd2210df977a12154 from qemu
This commit is contained in:
Peter Maydell 2018-02-19 01:04:06 -05:00 committed by Lioncash
parent b2a8355f8d
commit 4ca19f2cd6
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
11 changed files with 11 additions and 5 deletions

View file

@ -10,6 +10,7 @@
* See the COPYING file in the top-level directory for details.
*/
#include "qemu/osdep.h"
#include "tcg-be-ldst.h"
#include "qemu/bitops.h"

View file

@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "elf.h"
#include "tcg-be-ldst.h"

View file

@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "tcg-be-ldst.h"
#ifndef NDEBUG

View file

@ -24,6 +24,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "tcg-be-ldst.h"
#ifdef HOST_WORDS_BIGENDIAN

View file

@ -23,10 +23,7 @@
* THE SOFTWARE.
*/
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "tcg-op.h"

View file

@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "tcg-be-ldst.h"
#if defined _CALL_DARWIN || defined __APPLE__

View file

@ -24,6 +24,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "tcg-be-ldst.h"
/* We only support generating code for 64-bit mode. */

View file

@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "tcg-be-null.h"
#ifndef NDEBUG

View file

@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "tcg/tcg.h"
const TCGOpDef tcg_op_defs_org[TCG_OP_DEFS_TABLE_SIZE] = {

View file

@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "tcg.h"
#include "tcg-op.h"

View file

@ -26,7 +26,7 @@
#define USE_LIVENESS_ANALYSIS
#define USE_TCG_OPTIMIZATIONS
#include "config.h"
#include "qemu/osdep.h"
/* Define to jump the ELF file used to communicate with GDB. */
#undef DEBUG_JIT