summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index 42e8264d41..b3fb06d2c7 100644
--- a/ir.h
+++ b/ir.h
@@ -749,6 +749,8 @@ public:
ir_dereference(ir_instruction *variable, ir_rvalue *array_index);
+ ir_dereference(ir_instruction *variable, const char *field);
+
virtual ir_dereference *as_dereference()
{
return this;