~gabriel1984sibiu/minitube/qt5.6

« back to all changes in this revision

Viewing changes to src/3rdparty/angle/src/compiler/translator/UnfoldShortCircuitToIf.h

  • Committer: Grevutiu Gabriel
  • Date: 2017-06-13 08:43:17 UTC
  • Revision ID: gabriel1984sibiu@gmail.com-20170613084317-ek0zqe0u9g3ocvi8
OriginalĀ upstreamĀ code

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// Copyright (c) 2002-2012 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
// UnfoldShortCircuitToIf is an AST traverser to convert short-circuiting operators to if-else statements.
 
7
// The results are assigned to s# temporaries, which are used by the main translator instead of
 
8
// the original expression.
 
9
//
 
10
 
 
11
#ifndef COMPILER_TRANSLATOR_UNFOLDSHORTCIRCUIT_H_
 
12
#define COMPILER_TRANSLATOR_UNFOLDSHORTCIRCUIT_H_
 
13
 
 
14
class TIntermNode;
 
15
 
 
16
void UnfoldShortCircuitToIf(TIntermNode *root, unsigned int *temporaryIndex);
 
17
 
 
18
#endif   // COMPILER_TRANSLATOR_UNFOLDSHORTCIRCUIT_H_