diff options
author | Jay Foad <jay.foad@gmail.com> | 2011-07-11 07:28:49 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2011-07-11 07:28:49 +0000 |
commit | 7f0ce349187e6526ed2d92fe7d2757f84f73ce04 (patch) | |
tree | 133422479a3e03b88f99201d89ae0456b6695113 /lib/VMCore/AsmWriter.cpp | |
parent | 59ee62d2418df8db499eca1ae17f5900dc2dcbba (diff) | |
download | llvm-7f0ce349187e6526ed2d92fe7d2757f84f73ce04.tar.gz llvm-7f0ce349187e6526ed2d92fe7d2757f84f73ce04.tar.bz2 llvm-7f0ce349187e6526ed2d92fe7d2757f84f73ce04.tar.xz |
Remove mentions of type planes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/AsmWriter.cpp')
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 9278e58c2f..94794c35fe 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -311,11 +311,11 @@ private: const Function* TheFunction; bool FunctionProcessed; - /// mMap - The TypePlanes map for the module level data. + /// mMap - The slot map for the module level data. ValueMap mMap; unsigned mNext; - /// fMap - The TypePlanes map for the function level data. + /// fMap - The slot map for the function level data. ValueMap fMap; unsigned fNext; @@ -536,7 +536,7 @@ int SlotTracker::getGlobalSlot(const GlobalValue *V) { // Check for uninitialized state and do lazy initialization. initialize(); - // Find the type plane in the module map + // Find the value in the module map ValueMap::iterator MI = mMap.find(V); return MI == mMap.end() ? -1 : (int)MI->second; } @@ -546,7 +546,7 @@ int SlotTracker::getMetadataSlot(const MDNode *N) { // Check for uninitialized state and do lazy initialization. initialize(); - // Find the type plane in the module map + // Find the MDNode in the module map mdn_iterator MI = mdnMap.find(N); return MI == mdnMap.end() ? -1 : (int)MI->second; } |