7 #ifndef COMPILER_DETECT_RECURSION_H_
8 #define COMPILER_DETECT_RECURSION_H_
40 static const int kInfiniteCallDepth = INT_MAX;
42 FunctionNode(
const TString& fname);
47 void addCallee(FunctionNode* callee);
66 FunctionNode* findFunctionByName(
const TString&
name);
67 void resetFunctionNodes();
69 TInfoSink& getInfoSink() {
return infoSink; }
72 FunctionNode* currentFunction;
80 #endif // COMPILER_DETECT_RECURSION_H_
EGLImageKHR EGLint * name
GLint GLenum GLsizei GLsizei GLsizei depth
virtual bool visitAggregate(Visit, TIntermAggregate *)
std::basic_string< char, std::char_traits< char >, TStringAllocator > TString
bool checkExceedsMaxDepth(int depth)
ErrorCode detectCallDepth()
DetectCallDepth(TInfoSink &infoSync, bool limitCallStackDepth, int maxCallStackDepth)