commit | ac1fc75fe1cae31db94414834da178299837e5e4 | [log] [tgz] |
---|---|---|
author | shannon.woods%transgaming.com@gtempaccount.com <shannon.woods%transgaming.com@gtempaccount.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Sat Apr 13 03:29:52 2013 +0000 |
committer | shannon.woods%transgaming.com@gtempaccount.com <shannon.woods%transgaming.com@gtempaccount.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Sat Apr 13 03:29:52 2013 +0000 |
tree | 94c200e85fa6b34bbb93c8ab7b11d44696526982 | |
parent | 6df256c4d76cc3d05456176fe61c23ec87b0dc48 [diff] [blame] |
Don't assume unary operations on constants will be folded into a constant. TRAC #22676 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2073 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/Intermediate.cpp b/src/compiler/Intermediate.cpp index dabb49b..4a34afa 100644 --- a/src/compiler/Intermediate.cpp +++ b/src/compiler/Intermediate.cpp
@@ -846,6 +846,7 @@ } setType(operand->getType()); + type.setQualifier(EvqTemporary); return true; }