Commit d9811e8b authored by Matthias Braun's avatar Matthias Braun
Browse files

no strange comments after #include

[r13586]
parent 3740017a
......@@ -198,9 +198,6 @@ typedef void (*emit_func_ptr) (TEMPLATE_emit_env_t *, const ir_node *);
*/
void TEMPLATE_emit_node(TEMPLATE_emit_env_t *env, const ir_node *node) {
ir_op *op = get_irn_op(node);
DEBUG_ONLY(firm_dbg_module_t *mod = env->mod;)
DBG((mod, LEVEL_1, "emitting code for %+F\n", node));
if (op->ops.generic) {
emit_func_ptr func = (emit_func_ptr) op->ops.generic;
......@@ -281,7 +278,6 @@ void TEMPLATE_gen_routine(const TEMPLATE_code_gen_t *cg, ir_graph *irg) {
env.emit = &env.isa->emit;
env.arch_env = cg->arch_env;
env.cg = cg;
FIRM_DBG_REGISTER(env.mod, "firm.be.TEMPLATE.emit");
/* register all emitter functions */
TEMPLATE_register_emitters();
......
......@@ -25,7 +25,7 @@
#ifndef FIRM_BE_TEMPLATE_TEMPLATE_EMITTER_H
#define FIRM_BE_TEMPLATE_TEMPLATE_EMITTER_H
#include "irargs_t.h" // this also inlucdes <libcore/lc_print.h>
#include "irargs_t.h"
#include "irnode.h"
#include "debug.h"
......@@ -39,7 +39,6 @@ typedef struct _TEMPLATE_emit_env_t {
const arch_env_t *arch_env;
const TEMPLATE_code_gen_t *cg;
TEMPLATE_isa_t *isa;
DEBUG_ONLY(firm_dbg_module_t *mod;)
} TEMPLATE_emit_env_t;
void TEMPLATE_emit_source_register(TEMPLATE_emit_env_t *env, const ir_node *node, int pos);
......
......@@ -36,7 +36,7 @@
#include "bitset.h"
#include "debug.h"
#include "../bearch_t.h" /* the general register allocator interface */
#include "../bearch_t.h"
#include "../benode_t.h"
#include "../belower.h"
#include "../besched_t.h"
......@@ -47,8 +47,8 @@
#include "bearch_TEMPLATE_t.h"
#include "TEMPLATE_new_nodes.h" /* TEMPLATE nodes interface */
#include "gen_TEMPLATE_regalloc_if.h" /* the generated interface (register type and class defenitions) */
#include "TEMPLATE_new_nodes.h"
#include "gen_TEMPLATE_regalloc_if.h"
#include "TEMPLATE_transform.h"
#include "TEMPLATE_emitter.h"
#include "TEMPLATE_map_regs.h"
......@@ -292,7 +292,7 @@ static void TEMPLATE_emit_and_done(void *self) {
/* de-allocate code generator */
del_set(cg->reg_set);
free(self);
free(cg);
}
static void *TEMPLATE_cg_init(be_irg_t *birg);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment