summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Serrer <philipp@serrer.de>2018-01-25 14:52:47 +0100
committerPhilipp Serrer <philipp@serrer.de>2018-01-25 14:52:47 +0100
commit3f62f8e817730ce44328c12f6d94246ae6c3d1f8 (patch)
tree1f056b845d6735e496381d54f338ecf14a8857b6
parent724a470def0621a29acda0895affad1fcd610674 (diff)
Rebase cleanup
-rw-r--r--ir/be/amd64/amd64_emitter.c16
-rw-r--r--ir/be/ia32/ia32_emitter.c5
2 files changed, 0 insertions, 21 deletions
diff --git a/ir/be/amd64/amd64_emitter.c b/ir/be/amd64/amd64_emitter.c
index d96bee7..40df64f 100644
--- a/ir/be/amd64/amd64_emitter.c
+++ b/ir/be/amd64/amd64_emitter.c
@@ -840,22 +840,6 @@ static void amd64_register_emitters(void)
}
/**
- * Emits code for a node.
- */
-static void amd64_emit_node(ir_node *node)
-{
- be_emit_node(node);
-
- if (omit_fp) {
- int sp_change = -amd64_get_sp_change(node);
- if (sp_change != 0) {
- callframe_offset += sp_change;
- be_dwarf_callframe_offset(callframe_offset);
- }
- }
-}
-
-/**
* Walks over the nodes in a block connected by scheduling edges
* and emits code for each node.
*/
diff --git a/ir/be/ia32/ia32_emitter.c b/ir/be/ia32/ia32_emitter.c
index 8ab889c..7cb2975 100644
--- a/ir/be/ia32/ia32_emitter.c
+++ b/ir/be/ia32/ia32_emitter.c
@@ -74,11 +74,6 @@ typedef enum get_ip_style_t {
static int get_ip_style = IA32_GET_IP_THUNK;
/** Checks if the current block is a fall-through target. */
-static bool fallthrough_possible(const ir_node *source_block, const ir_node *target_block)
-{
- return be_emit_get_prev_block(target_block) == source_block;
-}
-
static bool is_fallthrough(const ir_node *cfgpred)
{
if (!is_Proj(cfgpred))