X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Ffunccall.h;h=c5c709f323c28ae552483084a9909863b9eb1c91;hb=f0f554a0809f95fcd6e354acf7c61ae5c543f8c9;hp=3d11eb7e71fb0a979e4ce11b87874b19a419ff9d;hpb=34a7a1cf3b1e1771c34367ba352798fead1d9904;p=libfirm diff --git a/ir/opt/funccall.h b/ir/opt/funccall.h index 3d11eb7e7..c5c709f32 100644 --- a/ir/opt/funccall.h +++ b/ir/opt/funccall.h @@ -22,18 +22,20 @@ /** * Optimize function calls by handling real functions. * - * This optimization first detects all "real fucntions", ie + * This optimization first detects all "real functions", i.e., * IR graphs that neither read nor write memory (and hence did * not create exceptions, as these use memory in Firm). * * The result of calls to such functions depends only on its - * arguments, hence those calls are not anymore pinned. + * arguments, hence those calls are no more pinned. * * This is a rather strong criteria, so do not expect that a * lot of functions will be found. Moreover, all of them might * already be inlined if inlining is activated. * Anyway, it might be good for handling builtin's or pseudo-graphs, * even if the later read/write memory (but we know how). + * + * If callee information is valid, we also optimize polymorphic Calls. */ void optimize_funccalls(void);