X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fldstopt.c;h=d792260b51e0cb116192141acdd3385c630230bf;hb=9bea3d74018e82f653deadff88f8626fd1a6557d;hp=9a77017baad6526b409bb5424975cd32814a97a0;hpb=8a953adb0fdd8f7e8cad68baa26bb6a8e8f829b0;p=libfirm diff --git a/ir/opt/ldstopt.c b/ir/opt/ldstopt.c index 9a77017ba..d792260b5 100644 --- a/ir/opt/ldstopt.c +++ b/ir/opt/ldstopt.c @@ -35,7 +35,7 @@ # include "iropt_dbg.h" # include "irflag_t.h" # include "array.h" -# include "firmstat.h" +# include "irhooks.h" #undef IMAX #define IMAX(a,b) ((a) > (b) ? (a) : (b)) @@ -270,9 +270,9 @@ static entity *find_constant_entity(ir_node *ptr) if (tlower == tarval_bad || tupper == tarval_bad) return NULL; - if (tarval_cmp(tv, tlower) & Lt) + if (tarval_cmp(tv, tlower) & pn_Cmp_Lt) return NULL; - if (tarval_cmp(tupper, tv) & Lt) + if (tarval_cmp(tupper, tv) & pn_Cmp_Lt) return NULL; /* ok, bounds check finished */