/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
#ifndef FIRM_BE_MAIN_H
#define FIRM_BE_MAIN_H
+#include <stdio.h>
#include "irarch.h"
#include "archop.h"
#include "lowering.h"
-#include "iroptimize.h"
-
-#include <libcore/lc_timing.h>
-
-#define LC_STOP_AND_RESET_TIMER(timer) do { lc_timer_stop(timer); lc_timer_reset(timer); } while(0)
/**
* This structure contains parameters that should be
/**
* Main interface to the frontend.
*/
-void be_main(FILE *file_handle, const char *cup_name);
-
-/** The type of the debug info retriever function. */
-typedef const char *(*retrieve_dbg_func)(const dbg_info *dbg, unsigned *line);
-
-/**
- * Sets a debug info retriever.
- *
- * @param func the debug retriever function.
- */
-void be_set_debug_retrieve(retrieve_dbg_func func);
-
-/**
- * Retrieve the debug info.
- */
-const char *be_retrieve_dbg_info(const dbg_info *dbg, unsigned *line);
+void be_main(FILE *output, const char *compilation_unit_name);
typedef struct be_main_env_t be_main_env_t;
typedef struct be_options_t be_options_t;
-#endif /* FIRM_BE_MAIN_H */
+#endif