projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[C++11] Replace OwningPtr::take() with OwningPtr::release().
[oota-llvm.git]
/
lib
/
LTO
/
LTOCodeGenerator.cpp
diff --git
a/lib/LTO/LTOCodeGenerator.cpp
b/lib/LTO/LTOCodeGenerator.cpp
index 87ea01f92619e8a33eda7518c59ade79b8d2c557..d6ca41b8df8688f9aa93393a53116f5afda3226a 100644
(file)
--- a/
lib/LTO/LTOCodeGenerator.cpp
+++ b/
lib/LTO/LTOCodeGenerator.cpp
@@
-270,7
+270,7
@@
const void* LTOCodeGenerator::compile(size_t* length,
sys::fs::remove(NativeObjectPath);
return NULL;
}
- NativeObjectFile = BuffPtr.
tak
e();
+ NativeObjectFile = BuffPtr.
releas
e();
// remove temp files
sys::fs::remove(NativeObjectPath);