lc_opt_add_table(chordal_grp, be_chordal_options);
co_register_options(chordal_grp);
+#ifdef WITH_JVM
be_java_coal_register_options(chordal_grp);
+#endif
#ifdef WITH_ILP
be_spill_remat_register_options(chordal_grp);
#endif
BE_TIMER_POP(ra_timer.t_spill);
if(be_stat_ev_is_active()) {
- spillcosts -= be_estimate_irg_costs(irg, main_env->arch_env, chordal_env.exec_freq);
+ spillcosts = be_estimate_irg_costs(irg, main_env->arch_env, chordal_env.exec_freq) - spillcosts;
be_stat_ev_l("spillcosts", (long) spillcosts);
node_stats(&chordal_env, &node_stat);