#include "plist.h"
#include "array_t.h"
-#include "height.h"
+#include "heights.h"
#include "beabi.h"
#include "bemodule.h"
typedef struct rss {
ir_phase ph; /**< Phase to hold some data */
- heights_t *h; /**< The current height object */
+ ir_heights_t *h; /**< The current height object */
ir_graph *irg; /**< The irg to preprocess */
plist_t *nodes; /**< The list of interesting nodes */
const arch_env_t *arch_env; /**< The architecture environment */
rss->max_height = heights_recompute_block(rss->h, block);
/* loop over all register classes */
- for (i = arch_env_get_n_reg_class(rss->arch_env) - 1; i >= 0; --i) {
- const arch_register_class_t *cls = arch_env_get_reg_class(rss->arch_env, i);
+ for (i = rss->arch_env->n_register_classes - 1; i >= 0; --i) {
+ const arch_register_class_t *cls = &rss->arch_env->register_classes[i];
rss->cls = cls;
DBG((rss->dbg, LEVEL_1, "register class %s\n", arch_register_class_name(cls)));