diff options
Diffstat (limited to 'gcc/ipa-hello-world.c')
-rw-r--r-- | gcc/ipa-hello-world.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/ipa-hello-world.c b/gcc/ipa-hello-world.c index 8aa305f8812..678faed9f1f 100644 --- a/gcc/ipa-hello-world.c +++ b/gcc/ipa-hello-world.c @@ -265,10 +265,10 @@ iphw_execute() } namespace { -const pass_data pass_data_ipa_hello_world = +const pass_data pass_data_ipa_escape_analysis = { SIMPLE_IPA_PASS, - "hello-world", + "escape-analysis", OPTGROUP_NONE, TV_NONE, (PROP_cfg | PROP_ssa), @@ -278,20 +278,20 @@ const pass_data pass_data_ipa_hello_world = 0, }; -class pass_ipa_hello_world : public simple_ipa_opt_pass +class pass_ipa_escape_analysis : public simple_ipa_opt_pass { public: - pass_ipa_hello_world (gcc::context *ctx) - : simple_ipa_opt_pass(pass_data_ipa_hello_world, ctx) + pass_ipa_escape_analysis (gcc::context *ctx) + : simple_ipa_opt_pass(pass_data_ipa_escape_analysis, ctx) {} - virtual bool gate(function*) { return flag_ipa_hello_world; } + virtual bool gate(function*) { return flag_ipa_escape_analysis; } virtual unsigned execute (function*) { return iphw_execute(); } }; } // anon namespace simple_ipa_opt_pass* -make_pass_ipa_hello_world (gcc::context *ctx) +make_pass_ipa_escape_analysis (gcc::context *ctx) { - return new pass_ipa_hello_world (ctx); + return new pass_ipa_escape_analysis (ctx); } |