- DBG((env.dbg, LEVEL_1, "\treg class: %s\n", cls->name));
-
- be_numbering(irg);
- be_liveness(irg);
-
- chordal_env = be_ra_chordal(irg, env.arch_env, cls);
+ /* spilling */
+ //be_spill_ilp(&session, cls);
+ be_spill_belady(&session, cls);
+#ifdef DUMP_SPILL
+ dump_ir_block_graph_sched(session.irg, "-spill");
+#endif
+ be_liveness(irg);
+ be_numbering(irg);
+ be_check_pressure(&session, cls);
+
+#if 0
+ {
+ FILE *f;
+ char buf[128];
+ ir_snprintf(buf, sizeof(buf), "%F_%s-live.txt", irg, cls->name);
+ if((f = fopen(buf, "wt")) != NULL) {
+ be_liveness_dump(session.irg, f);
+ fclose(f);
+ }
+ }
+#endif