diff options
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -29,6 +29,10 @@ #include <cstdio> #include <cstdlib> +extern "C" { +#include <talloc.h> +} + #include "list.h" #include "ir_visitor.h" #include "ir_hierarchical_visitor.h" @@ -645,8 +649,10 @@ public: /** * Get a generic ir_call object when an error occurs + * + * Any allocation will be performed with 'ctx' as talloc owner. */ - static ir_call *get_error_instruction(); + static ir_call *get_error_instruction(void *ctx); /** * Get an iterator for the set of acutal parameters |