[llvm-commits] CVS: llvm/include/llvm/Value.h
Chris Lattner
sabre at nondot.org
Mon Feb 12 10:53:16 PST 2007
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).
More information about the llvm-commits
mailing list