Be more const correct
authorChris Lattner <sabre@nondot.org>
Mon, 30 Jun 2003 05:27:05 +0000 (05:27 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 30 Jun 2003 05:27:05 +0000 (05:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7004 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DSGraph.h
include/llvm/Analysis/DataStructure/DSGraph.h

index bc0d15f427f4894092f42161a735c3fb82d5472e..c08d404cea9c10598128673352ccd8f20b47444f 100644 (file)
@@ -211,7 +211,7 @@ public:
   /// the graph.  If the StripAlloca's argument is 'StripAllocaBit' then Alloca
   /// markers are removed from nodes.
   ///
-  void mergeInGraph(DSCallSite &CS, Function &F, const DSGraph &Graph,
+  void mergeInGraph(const DSCallSite &CS, Function &F, const DSGraph &Graph,
                     unsigned CloneFlags);
 
   // Methods for checking to make sure graphs are well formed...
index bc0d15f427f4894092f42161a735c3fb82d5472e..c08d404cea9c10598128673352ccd8f20b47444f 100644 (file)
@@ -211,7 +211,7 @@ public:
   /// the graph.  If the StripAlloca's argument is 'StripAllocaBit' then Alloca
   /// markers are removed from nodes.
   ///
-  void mergeInGraph(DSCallSite &CS, Function &F, const DSGraph &Graph,
+  void mergeInGraph(const DSCallSite &CS, Function &F, const DSGraph &Graph,
                     unsigned CloneFlags);
 
   // Methods for checking to make sure graphs are well formed...