summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-06-09 17:28:54 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-06-11 15:36:05 -0700
commitb94c29a47b5020e4d052679fc5d22c19533fd73b (patch)
tree04208980a049c211405b19fdbf90276a35a336e6 /ir.h
parenteeedd355cfc2f0c578282657bd4259440a88742c (diff)
ir_constant: Add get_record_field query
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 86beb2d7ce..718c495fb3 100644
--- a/ir.h
+++ b/ir.h
@@ -1071,6 +1071,8 @@ public:
unsigned get_uint_component(unsigned i) const;
/*@}*/
+ ir_constant *get_record_field(const char *name);
+
/**
* Value of the constant.
*