[llvm-commits] CVS: llvm/include/llvm/Function.h

Chris Lattner lattner at cs.uiuc.edu
Sat Dec 4 22:43:31 PST 2004



Changes in directory llvm/include/llvm:

Function.h updated: 1.55 -> 1.56
---
Log message:

Add a new method



---
Diffs of the changes:  (+7 -0)

Index: llvm/include/llvm/Function.h
diff -u llvm/include/llvm/Function.h:1.55 llvm/include/llvm/Function.h:1.56
--- llvm/include/llvm/Function.h:1.55	Mon Nov 15 13:02:35 2004
+++ llvm/include/llvm/Function.h	Sun Dec  5 00:43:16 2004
@@ -106,6 +106,13 @@
   unsigned getIntrinsicID() const;
   bool isIntrinsic() const { return getIntrinsicID() != 0; }
 
+  /// renameLocalSymbols - This method goes through the Function's symbol table
+  /// and renames any symbols that conflict with symbols at global scope.  This
+  /// is required before printing out to a textual form, to ensure that there is
+  /// no ambiguity when parsing.
+  void renameLocalSymbols();
+
+
   /// deleteBody - This method deletes the body of the function, and converts
   /// the linkage to external.
   ///






More information about the llvm-commits mailing list