summaryrefslogtreecommitdiff
path: root/ir_function_inlining.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir_function_inlining.h')
-rw-r--r--ir_function_inlining.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/ir_function_inlining.h b/ir_function_inlining.h
index b68a55a1a9..6db011bbca 100644
--- a/ir_function_inlining.h
+++ b/ir_function_inlining.h
@@ -27,41 +27,4 @@
* Replaces calls to functions with the body of the function.
*/
-class ir_function_inlining_visitor : public ir_visitor {
-public:
- ir_function_inlining_visitor()
- {
- /* empty */
- }
-
- virtual ~ir_function_inlining_visitor()
- {
- /* empty */
- }
-
- /**
- * \name Visit methods
- *
- * As typical for the visitor pattern, there must be one \c visit method for
- * each concrete subclass of \c ir_instruction. Virtual base classes within
- * the hierarchy should not have \c visit methods.
- */
- /*@{*/
- virtual void visit(ir_variable *);
- virtual void visit(ir_loop *);
- virtual void visit(ir_loop_jump *);
- virtual void visit(ir_function_signature *);
- virtual void visit(ir_function *);
- virtual void visit(ir_expression *);
- virtual void visit(ir_swizzle *);
- virtual void visit(ir_dereference *);
- virtual void visit(ir_assignment *);
- virtual void visit(ir_constant *);
- virtual void visit(ir_call *);
- virtual void visit(ir_return *);
- virtual void visit(ir_if *);
- /*@}*/
-};
-
-bool do_function_inlining(exec_list *instructions);
bool can_inline(ir_call *call);