#include "beutil.h"
#include "belive_t.h"
-#include "beirg_t.h"
-#include "besched_t.h"
+#include "beirg.h"
+#include "besched.h"
#include "bemodule.h"
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
int lo = 0;
int hi = n;
- if(n == 0)
+ if (n == 0)
return 0;
- while(lo < hi) {
+ do {
int md = lo + ((hi - lo) >> 1);
unsigned md_idx = payload[md].u.node.idx;
}
res = lo;
- }
+ } while (lo < hi);
#ifdef LV_INTESIVE_CHECKS
{
unsigned i;
- for(i = res; i < n; ++i)
+ for (i = res; i < n; ++i)
assert(payload[i].u.node.idx >= idx);
for(i = 0; i < res; ++i)