diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-02-07 09:05:34 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-02-07 09:05:34 +0000 |
commit | 9085030171299809be4076f0ceb5b6e8add908da (patch) | |
tree | fb5bad64424cf35bb1f84e46632dcbc3358166ba /lib/CodeGen/BackendUtil.cpp | |
parent | 11e70d7fe2eb11874c3619ad26dc2b525b81074f (diff) |
Reserve a moderate amount of space for the back-end arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | lib/CodeGen/BackendUtil.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 1cbc69b03b..1707ec5ea5 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -247,6 +247,7 @@ bool EmitAssemblyHelper::AddEmitPasses(BackendAction Action, } std::vector<const char *> BackendArgs; + BackendArgs.reserve(16); BackendArgs.push_back("clang"); // Fake program name. if (!CodeGenOpts.DebugPass.empty()) { BackendArgs.push_back("-debug-pass"); |