Handle constant expressions using derefs of const values.
authorEric Anholt <eric@anholt.net>
Tue, 6 Apr 2010 17:30:54 +0000 (10:30 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 6 Apr 2010 18:42:34 +0000 (11:42 -0700)
commit326c676236e6a3c90db63e4d0c893aa4f9c21876
treeb3513c8d9bb5c0cd596b8d3486edb69136e955f8
parent3fff009af169313fa22996d93ad195cf12729763
Handle constant expressions using derefs of const values.

Fixes CorrectParse1.frag and makes for a ton of folding in
CorrectParse2.frag.
ast_to_hir.cpp
ir.cpp
ir.h
ir_constant_expression.cpp