summaryrefslogtreecommitdiffhomepage
path: root/ir/be/mips
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-02-17 07:14:48 +0100
committerMatthias Braun <matze@braunis.de>2017-02-17 08:07:41 +0100
commit06cb80c5b7f318fb1fc0caef3adcf84b9802df6c (patch)
tree72c596abcda06468ebe41d0038f520e10f19acc3 /ir/be/mips
parentd29ca3a0ba661b9826e126b407c1c9d6f5a81aa9 (diff)
Reorganize include directives
Diffstat (limited to 'ir/be/mips')
-rw-r--r--ir/be/mips/mips_bearch.c3
-rw-r--r--ir/be/mips/mips_emitter.c3
-rw-r--r--ir/be/mips/mips_new_nodes.c3
-rw-r--r--ir/be/mips/mips_nodes_attr.c4
4 files changed, 6 insertions, 7 deletions
diff --git a/ir/be/mips/mips_bearch.c b/ir/be/mips/mips_bearch.c
index ecdcdbc..b93f887 100644
--- a/ir/be/mips/mips_bearch.c
+++ b/ir/be/mips/mips_bearch.c
@@ -3,6 +3,8 @@
* Copyright (C) 2017 University of Karlsruhe.
*/
+#include "mips_bearch_t.h"
+
#include "be_t.h"
#include "beirg.h"
#include "bemodule.h"
@@ -20,7 +22,6 @@
#include "lower_builtins.h"
#include "lower_calls.h"
#include "lowering.h"
-#include "mips_bearch_t.h"
#include "mips_emitter.h"
#include "mips_lower64.h"
#include "mips_transform.h"
diff --git a/ir/be/mips/mips_emitter.c b/ir/be/mips/mips_emitter.c
index 644705c..5b8504e 100644
--- a/ir/be/mips/mips_emitter.c
+++ b/ir/be/mips/mips_emitter.c
@@ -5,8 +5,6 @@
#include "mips_emitter.h"
-#include <inttypes.h>
-
#include "be_t.h"
#include "bearch.h"
#include "beblocksched.h"
@@ -22,6 +20,7 @@
#include "mips_nodes_attr.h"
#include "panic.h"
#include "util.h"
+#include <inttypes.h>
static void emit_immediate_val(char const *const prefix, ir_entity *const ent, int32_t const val)
{
diff --git a/ir/be/mips/mips_new_nodes.c b/ir/be/mips/mips_new_nodes.c
index 0013425..90cf8c3 100644
--- a/ir/be/mips/mips_new_nodes.c
+++ b/ir/be/mips/mips_new_nodes.c
@@ -5,11 +5,10 @@
#include "mips_new_nodes_t.h"
-#include <inttypes.h>
-
#include "bearch.h"
#include "gen_mips_new_nodes.h"
#include "ircons_t.h"
+#include <inttypes.h>
static int mips_attrs_equal_(mips_attr_t const *const a_attr, mips_attr_t const *const b_attr)
{
diff --git a/ir/be/mips/mips_nodes_attr.c b/ir/be/mips/mips_nodes_attr.c
index b8ff369..cf9610b 100644
--- a/ir/be/mips/mips_nodes_attr.c
+++ b/ir/be/mips/mips_nodes_attr.c
@@ -3,10 +3,10 @@
* Copyright (C) 2017 University of Karlsruhe.
*/
-#include <panic.h>
-
#include "mips_nodes_attr.h"
+#include <panic.h>
+
char const *mips_get_cond_name(mips_cond_t const cond)
{
switch (cond) {