diff options
author | marha <marha@users.sourceforge.net> | 2012-06-12 08:43:13 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-06-12 08:43:13 +0200 |
commit | 669b562a737c9418c53bfae69c0dbf1aabe318b4 (patch) | |
tree | 3689f9b209df6a4b74eb185f202286e435c71538 /mesalib/src/glsl/opt_redundant_jumps.cpp | |
parent | 59afae8769ef1f757929421e7f55449d5f6b5baf (diff) | |
parent | 925b68a7b26823fdfa1cb25d3edc3545fc2175b1 (diff) | |
download | vcxsrv-669b562a737c9418c53bfae69c0dbf1aabe318b4.tar.gz vcxsrv-669b562a737c9418c53bfae69c0dbf1aabe318b4.tar.bz2 vcxsrv-669b562a737c9418c53bfae69c0dbf1aabe318b4.zip |
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/src/glsl/opt_redundant_jumps.cpp')
-rw-r--r-- | mesalib/src/glsl/opt_redundant_jumps.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesalib/src/glsl/opt_redundant_jumps.cpp b/mesalib/src/glsl/opt_redundant_jumps.cpp index f350fa947..8606dcbb7 100644 --- a/mesalib/src/glsl/opt_redundant_jumps.cpp +++ b/mesalib/src/glsl/opt_redundant_jumps.cpp @@ -28,6 +28,8 @@ #include "ir.h" +namespace { + class redundant_jumps_visitor : public ir_hierarchical_visitor { public: redundant_jumps_visitor() @@ -42,6 +44,8 @@ public: bool progress; }; +} /* unnamed namespace */ + /* We only care about the top level instructions, so don't descend * into expressions. */ |