Revert name change from r132533. Lower case naming was intended per style guidelines.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132555 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chad Rosier 2011-06-03 17:02:19 +00:00
parent 0c9b559bfd
commit 6a0c04dff2
3 changed files with 7 additions and 7 deletions

View File

@ -1205,7 +1205,7 @@ static void WriteValueSymbolTable(const ValueSymbolTable &VST,
static void WriteFunction(const Function &F, ValueEnumerator &VE,
BitstreamWriter &Stream) {
Stream.EnterSubblock(bitc::FUNCTION_BLOCK_ID, 4);
VE.IncorporateFunction(F);
VE.incorporateFunction(F);
SmallVector<unsigned, 64> Vals;
@ -1269,7 +1269,7 @@ static void WriteFunction(const Function &F, ValueEnumerator &VE,
if (NeedsMetadataAttachment)
WriteMetadataAttachment(F, VE, Stream);
VE.PurgeFunction();
VE.purgeFunction();
Stream.ExitBlock();
}

View File

@ -452,7 +452,7 @@ void ValueEnumerator::EnumerateAttributes(const AttrListPtr &PAL) {
}
}
void ValueEnumerator::IncorporateFunction(const Function &F) {
void ValueEnumerator::incorporateFunction(const Function &F) {
InstructionCount = 0;
NumModuleValues = Values.size();
NumModuleMDValues = MDValues.size();
@ -516,7 +516,7 @@ void ValueEnumerator::IncorporateFunction(const Function &F) {
EnumerateFunctionLocalMetadata(FnLocalMDVector[i]);
}
void ValueEnumerator::PurgeFunction() {
void ValueEnumerator::purgeFunction() {
/// Remove purged values from the ValueMap.
for (unsigned i = NumModuleValues, e = Values.size(); i != e; ++i)
ValueMap.erase(Values[i].first);

View File

@ -127,11 +127,11 @@ public:
/// should only be used by rare constructs such as address-of-label.
unsigned getGlobalBasicBlockID(const BasicBlock *BB) const;
/// IncorporateFunction/PurgeFunction - If you'd like to deal with a function,
/// incorporateFunction/purgeFunction - If you'd like to deal with a function,
/// use these two methods to get its data into the ValueEnumerator!
///
void IncorporateFunction(const Function &F);
void PurgeFunction();
void incorporateFunction(const Function &F);
void purgeFunction();
private:
void OptimizeConstants(unsigned CstStart, unsigned CstEnd);