aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-02-15 18:00:21 -0800
committerMichael Forney <mforney@mforney.org>2019-02-15 18:00:21 -0800
commit2836001e82b23ed83c100b74e44f23b57bc5f343 (patch)
tree2576caa9a99d0450f1b9db8b89f9eb9d0e40343c
parent8c93eb6681295087da3611f9ee78f5c9f7a9dd37 (diff)
Rename emit.h -> backend.h
-rw-r--r--backend.h (renamed from emit.h)0
-rw-r--r--decl.c2
-rw-r--r--deps.mk10
-rw-r--r--eval.c2
-rw-r--r--qbe.c2
-rw-r--r--stmt.c2
-rw-r--r--type.c2
7 files changed, 10 insertions, 10 deletions
diff --git a/emit.h b/backend.h
index c4b1eaf..c4b1eaf 100644
--- a/emit.h
+++ b/backend.h
diff --git a/decl.c b/decl.c
index 6d6bd84..03dfb3d 100644
--- a/decl.c
+++ b/decl.c
@@ -7,8 +7,8 @@
#include <stdlib.h>
#include <string.h>
#include "util.h"
+#include "backend.h"
#include "decl.h"
-#include "emit.h"
#include "expr.h"
#include "htab.h"
#include "init.h"
diff --git a/deps.mk b/deps.mk
index fa3afd0..4872d72 100644
--- a/deps.mk
+++ b/deps.mk
@@ -1,8 +1,8 @@
driver.o: driver.c util.h config.h
util.o: util.c util.h
-decl.o: decl.c util.h decl.h emit.h expr.h htab.h init.h pp.h scope.h \
+decl.o: decl.c util.h backend.h decl.h expr.h htab.h init.h pp.h scope.h \
stmt.h token.h type.h
-eval.o: eval.c util.h decl.h emit.h eval.h expr.h token.h type.h
+eval.o: eval.c util.h backend.h decl.h eval.h expr.h token.h type.h
expr.o: expr.c util.h decl.h eval.h expr.h init.h pp.h scope.h token.h \
type.h
htab.o: htab.c util.h htab.h
@@ -12,11 +12,11 @@ pp.o: pp.c util.h pp.h scan.h token.h
scan.o: scan.c util.h scan.h token.h
scope.o: scope.c util.h htab.h scope.h
siphash.o: siphash.c
-stmt.o: stmt.c util.h decl.h emit.h expr.h pp.h scope.h stmt.h token.h \
+stmt.o: stmt.c util.h backend.h decl.h expr.h pp.h scope.h stmt.h token.h \
type.h
tree.o: tree.c util.h tree.h
token.o: token.c util.h token.h
-type.o: type.c util.h emit.h type.h
+type.o: type.c util.h backend.h type.h
util.o: util.c util.h
-qbe.o: qbe.c util.h decl.h emit.h eval.h expr.h htab.h init.h scope.h \
+qbe.o: qbe.c util.h backend.h decl.h eval.h expr.h htab.h init.h scope.h \
token.h tree.h type.h ops.h
diff --git a/eval.c b/eval.c
index df53561..ef84943 100644
--- a/eval.c
+++ b/eval.c
@@ -2,8 +2,8 @@
#include <stddef.h>
#include <stdint.h>
#include "util.h"
+#include "backend.h"
#include "decl.h"
-#include "emit.h"
#include "eval.h"
#include "expr.h"
#include "token.h"
diff --git a/qbe.c b/qbe.c
index 72f4a2e..f0e37c5 100644
--- a/qbe.c
+++ b/qbe.c
@@ -6,8 +6,8 @@
#include <string.h>
#include <inttypes.h>
#include "util.h"
+#include "backend.h"
#include "decl.h"
-#include "emit.h"
#include "eval.h"
#include "expr.h"
#include "htab.h"
diff --git a/stmt.c b/stmt.c
index 866d3ff..8eced24 100644
--- a/stmt.c
+++ b/stmt.c
@@ -5,8 +5,8 @@
#include <stdlib.h>
#include <string.h>
#include "util.h"
+#include "backend.h"
#include "decl.h"
-#include "emit.h"
#include "expr.h"
#include "pp.h"
#include "scope.h"
diff --git a/type.c b/type.c
index 89f4d0d..90b35c2 100644
--- a/type.c
+++ b/type.c
@@ -4,7 +4,7 @@
#include <stdint.h>
#include <string.h>
#include "util.h"
-#include "emit.h"
+#include "backend.h"
#include "type.h"
struct type typevoid = {.kind = TYPEVOID};