diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-05-19 13:52:29 +0200 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-05-26 15:23:25 -0700 |
commit | 36ea28646c666ac2af9b43c47e65f9f53ffcc390 (patch) | |
tree | 093bdb4d42b16b95201b2fa852dcb53ace32ae32 /ir_constant_expression.cpp | |
parent | 7fe3de6fde0cb7e73ef36d0d600f00f4793ced0d (diff) |
Refactor ir_dereference data fields to subclasses
Diffstat (limited to 'ir_constant_expression.cpp')
-rw-r--r-- | ir_constant_expression.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ir_constant_expression.cpp b/ir_constant_expression.cpp index 076fdfda75..b1092de139 100644 --- a/ir_constant_expression.cpp +++ b/ir_constant_expression.cpp @@ -427,6 +427,7 @@ ir_constant_visitor::visit(ir_dereference_variable *ir) void ir_constant_visitor::visit(ir_dereference_array *ir) { + (void) ir; value = NULL; /* FINISHME: Other dereference modes. */ } @@ -435,6 +436,7 @@ ir_constant_visitor::visit(ir_dereference_array *ir) void ir_constant_visitor::visit(ir_dereference_record *ir) { + (void) ir; value = NULL; /* FINISHME: Other dereference modes. */ } |