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 | dbb221de11ae99badd786b819cc7cdda2e9930ea (patch) | |
tree | 25698ac11d49ab90c8da100f67ba176b5608b70b /llvm/lib/VMCore | |
parent | c749eb89adaa6622abf8098203b0dcff145db704 (diff) | |
download | bcm5719-llvm-dbb221de11ae99badd786b819cc7cdda2e9930ea.tar.gz bcm5719-llvm-dbb221de11ae99badd786b819cc7cdda2e9930ea.zip |
Remove mentions of type planes.
llvm-svn: 134887
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index 9278e58c2fc..94794c35fe0 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/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; } |