X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Ftropt.h;h=9a594096b837a5a06af6bd8be98ddd9264e28dd9;hb=1604345e0da0d5a74037dee6a4fa13bb70261ad3;hp=65869fda268556c26ae74edf80eb5fa92501a8b2;hpb=b9e0dce5a87b0ff3c01da0937346a8d33bb5e5cd;p=libfirm diff --git a/ir/opt/tropt.h b/ir/opt/tropt.h index 65869fda2..9a594096b 100644 --- a/ir/opt/tropt.h +++ b/ir/opt/tropt.h @@ -1,6 +1,5 @@ /** - * - * @file irsimpeltype.h + * @file tropt.h * * Project: libFIRM * File name: ir/opt/tropt.h @@ -20,13 +19,11 @@ #ifndef _TROPT_H_ #define _TROPT_H_ -#include "irnode.h" -#include "irgraph.h" -#include "type.h" +#include "firm_types.h" /** This is the type for a method, that returns a pointer type to * tp. This is needed in the normalization. */ -typedef type *(*gen_pointer_type_to_func)(type *tp); +typedef ir_type *(*gen_pointer_type_to_func)(ir_type *tp); /** Insert Casts so that class type casts conform exactly with the type hierarchy. * @@ -74,7 +71,7 @@ void normalize_irg_class_casts(ir_graph *irg, gen_pointer_type_to_func gppt_fct) * Performs the following transformations: * C c = (C)(B)(A)(B)new C() --> C c = (C)(B)newC() --> C c = new C() * (Optimizing downcasts as A a = (A)(B)(new A()) --> A a = new A() can - * be suppressed by setting flag opt_suppress_downcast_optimization. + * be suppressed by setting the flag opt_suppress_downcast_optimization. * Downcasting A to B might cause an exception. It is not clear * whether this is modeled by the Firm Cast node, as it has no exception * outputs.);