+/**
+ * Calls the corresponding lowering function for the node.
+ *
+ * @param irn The node to be checked for lowering
+ * @param walk_env The walker environment
+ */
+static void lower_nodes_before_sched_walker(ir_node *irn, void *walk_env) {
+ const arch_env_t *arch_env = walk_env;
+
+ if (!is_Block(irn) && !is_Proj(irn)) {
+ if (is_Call(arch_env, irn)) {
+ lower_call_node(irn, walk_env);
+ }
+ }
+
+ return;
+}
+