Changes in directory llvm/include/llvm:

Value.h updated: 1.93 -> 1.94
---
Log message:

Add new setName accessor which doesn't require creating a string.


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

 Value.h |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/include/llvm/Value.h
diff -u llvm/include/llvm/Value.h:1.93 llvm/include/llvm/Value.h:1.94
--- llvm/include/llvm/Value.h:1.93      Sun Feb 11 23:18:08 2007
+++ llvm/include/llvm/Value.h   Mon Feb 12 12:52:59 2007
@@ -91,6 +91,7 @@
   ValueName *getValueName() const { return Name; }
 
   void setName(const std::string &name);
+  void setName(const char *Name, unsigned NameLen);
   
   /// takeName - transfer the name from V to this value, setting V's name to
   /// empty.  It is an error to call V->takeName(V). 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to