summaryrefslogtreecommitdiffstats
path: root/Source/ThirdParty/ANGLE/src/compiler/SymbolTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/ThirdParty/ANGLE/src/compiler/SymbolTable.h')
-rw-r--r--Source/ThirdParty/ANGLE/src/compiler/SymbolTable.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/ThirdParty/ANGLE/src/compiler/SymbolTable.h b/Source/ThirdParty/ANGLE/src/compiler/SymbolTable.h
index 38bc657..33616dc 100644
--- a/Source/ThirdParty/ANGLE/src/compiler/SymbolTable.h
+++ b/Source/ThirdParty/ANGLE/src/compiler/SymbolTable.h
@@ -302,6 +302,12 @@ public:
assert(table.size() >= 2);
return table[1];
}
+
+ TSymbolTableLevel* getOuterLevel() {
+ assert(table.size() >= 2);
+ return table[currentLevel() - 1];
+ }
+
void relateToOperator(const char* name, TOperator op) {
table[0]->relateToOperator(name, op);
}