summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ir.h b/ir.h
index ab041aa848..3d2c7ff5cf 100644
--- a/ir.h
+++ b/ir.h
@@ -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