diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-06-27 18:49:21 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-06-27 18:49:21 +0000 |
| commit | 5c91f4d7ba422e7d566fa9c262a6cf0553bd3561 (patch) | |
| tree | 250cffbf939e8939ca6b880eac75c3bf4d83c493 /llvm/lib/Debugger/SourceLanguage-CPlusPlus.cpp | |
| parent | 69cb7be3b153fb3dc99eeb6a20ce167276a723f6 (diff) | |
| download | bcm5719-llvm-5c91f4d7ba422e7d566fa9c262a6cf0553bd3561.tar.gz bcm5719-llvm-5c91f4d7ba422e7d566fa9c262a6cf0553bd3561.zip | |
Tweak IRBuilder to explicitly call the setName(const char*) method on Value
instead of passing the name into the instruction ctors. Since most
instruction ctors take their name as an std::string, this avoids copying the
string to the heap and a malloc and free.
Patch by Pratik Solanki!
llvm-svn: 52832
Diffstat (limited to 'llvm/lib/Debugger/SourceLanguage-CPlusPlus.cpp')
0 files changed, 0 insertions, 0 deletions

