projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2780609
)
Simplify this code so that it doesn't depend on raw_ostream being copyable.
author
Dan Gohman
<gohman@apple.com>
Thu, 13 Aug 2009 16:51:51 +0000
(16:51 +0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 13 Aug 2009 16:51:51 +0000
(16:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78915
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/lto/LTOCodeGenerator.cpp
patch
|
blob
|
history
diff --git
a/tools/lto/LTOCodeGenerator.cpp
b/tools/lto/LTOCodeGenerator.cpp
index dacf483563f388fd5346ebce4e573e0850d1e6fd..190578e2630c484d40d41d897a1b211d257e8684 100644
(file)
--- a/
tools/lto/LTOCodeGenerator.cpp
+++ b/
tools/lto/LTOCodeGenerator.cpp
@@
-178,9
+178,9
@@
const void* LTOCodeGenerator::compile(size_t* length, std::string& errMsg)
// generate assembly code
bool genResult = false;
{
- raw_fd_ostream asmFD(
raw_fd_ostream(
uniqueAsmPath.c_str(),
-
/*Binary=*/false, /*Force=*/true,
-
errMsg)
);
+ raw_fd_ostream asmFD(uniqueAsmPath.c_str(),
+ /*Binary=*/false, /*Force=*/true,
+
errMsg
);
formatted_raw_ostream asmFile(asmFD);
if (!errMsg.empty())
return NULL;