commit | d972678a053d4785772b75cf6c8d4ab74ac2c7f6 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Mar 22 00:12:30 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Mar 22 00:12:30 2009 +0000 |
tree | 84404e3a5739cedbc8aab728d68d20958f1e0c93 | |
parent | b7beee9f2b52f34a3b0800a5f0038f0e4295b260 [diff] |
set function/global names with setName instead of passing the name into the ctor function. This avoids creating a temporary std::string for the name, speeding up the testcase in PR3810 by 3.8% git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67457 91177308-0d34-0410-b5e6-96231b3b80d8