aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index 13d0c440..b7b43de 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -138,7 +138,7 @@ protected:
}
};
-struct varpool_node;
+class varpool_node;
struct cgraph_node;
struct lto_symtab_encoder_d;
@@ -171,7 +171,7 @@ public:
function body via this hook. */
unsigned int function_transform_todo_flags_start;
unsigned int (*function_transform) (struct cgraph_node *);
- void (*variable_transform) (struct varpool_node *);
+ void (*variable_transform) (varpool_node *);
protected:
ipa_opt_pass_d (const pass_data& data, gcc::context *ctxt,
@@ -183,7 +183,7 @@ protected:
void (*stmt_fixup) (struct cgraph_node *, gimple *),
unsigned int function_transform_todo_flags_start,
unsigned int (*function_transform) (struct cgraph_node *),
- void (*variable_transform) (struct varpool_node *))
+ void (*variable_transform) (varpool_node *))
: opt_pass (data, ctxt),
generate_summary (generate_summary),
write_summary (write_summary),