Renamed constUnion class to ConstantUnion.
Review URL: http://codereview.appspot.com/1106042
git-svn-id: https://angleproject.googlecode.com/svn/trunk@227 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/compiler/SymbolTable.h b/src/compiler/SymbolTable.h
index 0340d19..b7aa989 100644
--- a/src/compiler/SymbolTable.h
+++ b/src/compiler/SymbolTable.h
@@ -81,17 +81,17 @@
virtual void dump(TInfoSink &infoSink) const;
- constUnion* getConstPointer()
+ ConstantUnion* getConstPointer()
{
if (!unionArray)
- unionArray = new constUnion[type.getObjectSize()];
+ unionArray = new ConstantUnion[type.getObjectSize()];
return unionArray;
}
- constUnion* getConstPointer() const { return unionArray; }
+ ConstantUnion* getConstPointer() const { return unionArray; }
- void shareConstPointer( constUnion *constArray)
+ void shareConstPointer( ConstantUnion *constArray)
{
delete unionArray;
unionArray = constArray;
@@ -104,7 +104,7 @@
bool userType;
// we are assuming that Pool Allocator will free the memory allocated to unionArray
// when this object is destroyed
- constUnion *unionArray;
+ ConstantUnion *unionArray;
TType *arrayInformationType; // this is used for updating maxArraySize in all the references to a given symbol
};