[llvm-branch-commits] [llvm-branch] r99497 - /llvm/branches/Apple/Morbo/include/llvm/CodeGen/SelectionDAG.h

Evan Cheng evan.cheng at apple.com
Wed Mar 24 23:46:36 PDT 2010


Author: evancheng
Date: Thu Mar 25 01:46:36 2010
New Revision: 99497

URL: http://llvm.org/viewvc/llvm-project?rev=99497&view=rev
Log:
Merge 99493.

Modified:
    llvm/branches/Apple/Morbo/include/llvm/CodeGen/SelectionDAG.h

Modified: llvm/branches/Apple/Morbo/include/llvm/CodeGen/SelectionDAG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/include/llvm/CodeGen/SelectionDAG.h?rev=99497&r1=99496&r2=99497&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/include/llvm/CodeGen/SelectionDAG.h (original)
+++ llvm/branches/Apple/Morbo/include/llvm/CodeGen/SelectionDAG.h Thu Mar 25 01:46:36 2010
@@ -65,7 +65,7 @@
 /// DbgValMap.
 class SDDbgInfo {
   SmallVector<SDDbgValue*, 32> DbgValues;
-  DenseMap<const SDNode*, SmallVector<SDDbgValue*, 2> > DbgVblMap;
+  DenseMap<const SDNode*, SmallVector<SDDbgValue*, 2> > DbgValMap;
 
   void operator=(const SDDbgInfo&);   // Do not implement.
   SDDbgInfo(const SDDbgInfo&);   // Do not implement.
@@ -74,12 +74,12 @@
 
   void add(SDDbgValue *V, const SDNode *Node = 0) {
     if (Node)
-      DbgVblMap[Node].push_back(V);
+      DbgValMap[Node].push_back(V);
     DbgValues.push_back(V);
   }
 
   void clear() {
-    DbgVblMap.clear();
+    DbgValMap.clear();
     DbgValues.clear();
   }
 
@@ -88,7 +88,7 @@
   }
 
   SmallVector<SDDbgValue*,2> &getSDDbgValues(const SDNode *Node) {
-    return DbgVblMap[Node];
+    return DbgValMap[Node];
   }
 
   typedef SmallVector<SDDbgValue*,32>::iterator DbgIterator;





More information about the llvm-branch-commits mailing list