Implement binary emitter for fpush.
[libfirm] / ir / opt / ldst2.c
index 1c039c6..d73a8f7 100644 (file)
@@ -41,6 +41,7 @@
 #include "irdump.h"
 #include "irflag_t.h"
 #include "irprintf.h"
+#include "irpass.h"
 
 #if +0
 #define OPTIMISE_LOAD_AFTER_LOAD
@@ -845,3 +846,8 @@ void opt_sync(ir_graph *irg)
        //optimize_graph_df(irg);
        //irg_walk_graph(irg, NormaliseSync, NULL, NULL);
 }
+
+ir_graph_pass_t *opt_sync_pass(const char *name)
+{
+       return def_graph_pass(name ? name : "opt_sync", opt_sync);
+}