diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-04-08 10:44:28 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-04-08 10:44:28 +0000 |
| commit | a6769269f3db5784e783c121bdf628e27f436d5b (patch) | |
| tree | 9ea72fc519f54bef4fb9542246065752ec94effc /llvm/lib/VMCore | |
| parent | 634d9ff7c08ca76076c4373df075e5fe09736820 (diff) | |
| download | bcm5719-llvm-a6769269f3db5784e783c121bdf628e27f436d5b.tar.gz bcm5719-llvm-a6769269f3db5784e783c121bdf628e27f436d5b.zip | |
Use twines to simplify calls to report_fatal_error. For code size and readability.
llvm-svn: 100756
Diffstat (limited to 'llvm/lib/VMCore')
| -rw-r--r-- | llvm/lib/VMCore/PassManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp index 003ff59ecba..b28fdebd523 100644 --- a/llvm/lib/VMCore/PassManager.cpp +++ b/llvm/lib/VMCore/PassManager.cpp @@ -1294,7 +1294,7 @@ bool FunctionPassManager::run(Function &F) { if (F.isMaterializable()) { std::string errstr; if (F.Materialize(&errstr)) - report_fatal_error("Error reading bitcode file: " + errstr); + report_fatal_error("Error reading bitcode file: " + Twine(errstr)); } return FPM->run(F); } |

