Corentin Wallez | e839078 | 2017-04-06 14:34:43 -0400 | [diff] [blame] | 1 | // |
| 2 | // Copyright (c) 2017 The ANGLE Project Authors. All rights reserved. |
| 3 | // Use of this source code is governed by a BSD-style license that can be |
| 4 | // found in the LICENSE file. |
| 5 | // |
| 6 | // PrunePureLiteralStatements.h: Removes statements that are literals and nothing else. |
| 7 | |
| 8 | #ifndef COMPILER_TRANSLATOR_PRUNEPURELITERALSTATEMENTS_H_ |
| 9 | #define COMPILER_TRANSLATOR_PRUNEPURELITERALSTATEMENTS_H_ |
| 10 | |
| 11 | namespace sh |
| 12 | { |
| 13 | class TIntermNode; |
| 14 | |
| 15 | void PrunePureLiteralStatements(TIntermNode *root); |
| 16 | } |
| 17 | |
| 18 | #endif // COMPILER_TRANSLATOR_PRUNEPURELITERALSTATEMENTS_H_ |