[llvm-commits] [llvm] r134887 - /llvm/trunk/lib/VMCore/AsmWriter.cpp
Jay Foad
jay.foad at gmail.com
Mon Jul 11 00:28:50 PDT 2011
Author: foad
Date: Mon Jul 11 02:28:49 2011
New Revision: 134887
URL: http://llvm.org/viewvc/llvm-project?rev=134887&view=rev
Log:
Remove mentions of type planes.
Modified:
llvm/trunk/lib/VMCore/AsmWriter.cpp
Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/AsmWriter.cpp?rev=134887&r1=134886&r2=134887&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/trunk/lib/VMCore/AsmWriter.cpp Mon Jul 11 02:28:49 2011
@@ -311,11 +311,11 @@
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 @@
// 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 @@
// 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;
}
More information about the llvm-commits
mailing list