X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeutil.h;h=a97371379ae88478293e1e22a00aa2d3d04a3b7e;hb=dd4cd761ab637d4488c7e29f49843b1b02366acf;hp=5fbd6e38777331f55935b741d1bc5887124f3a79;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/be/beutil.h b/ir/be/beutil.h index 5fbd6e387..a97371379 100644 --- a/ir/be/beutil.h +++ b/ir/be/beutil.h @@ -35,6 +35,22 @@ #include "bearch_t.h" +#ifdef _MSC_VER +typedef __int64 long64; +typedef unsigned __int64 ulong64; + +#define LL_FMT "i64" +#define ULL_FMT "ui64" + +#else +typedef long long long64; +typedef unsigned long long ulong64; + +#define LL_FMT "ll" +#define ULL_FMT "llu" + +#endif /* _MSC_VER */ + /* iterate over a list of ir_nodes linked by link field */ #define foreach_linked_irns(head, iter) for ((iter) = (head); (iter); (iter) = get_irn_link((iter))) @@ -135,12 +151,6 @@ void be_dump(ir_graph *irg, const char *suffix, void (*dumper)(ir_graph *, const */ unsigned get_num_reachable_nodes(ir_graph *irg); -/** - * Sets all node inputs to BAD node. - * @param irn The node to be killed. - */ -void be_kill_node(ir_node *irn); - /** * Gets the Proj with number pn from irn. */