summaryrefslogtreecommitdiff
path: root/Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp')
-rw-r--r--Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp b/Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp
index 288f5529a..fa6c8b8d7 100644
--- a/Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp
+++ b/Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp
@@ -43,11 +43,12 @@ namespace {
class ArrayBoundsClamperMarker : public TIntermTraverser {
public:
ArrayBoundsClamperMarker()
- : mNeedsClamp(false)
+ : TIntermTraverser(true, false, false),
+ mNeedsClamp(false)
{
}
- virtual bool visitBinary(Visit visit, TIntermBinary* node)
+ bool visitBinary(Visit visit, TIntermBinary *node) override
{
if (node->getOp() == EOpIndexIndirect)
{