projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
API changes for class Use size reduction, wave 1.
[oota-llvm.git]
/
lib
/
Transforms
/
Utils
/
BasicBlockUtils.cpp
diff --git
a/lib/Transforms/Utils/BasicBlockUtils.cpp
b/lib/Transforms/Utils/BasicBlockUtils.cpp
index 0dc38a2b84af925f284f73c86d8c585a8eaf7ac8..895e44a4f76e03c92dbfe73cd327ed041e1bed6b 100644
(file)
--- a/
lib/Transforms/Utils/BasicBlockUtils.cpp
+++ b/
lib/Transforms/Utils/BasicBlockUtils.cpp
@@
-98,7
+98,7
@@
void llvm::RemoveSuccessor(TerminatorInst *TI, unsigned SuccNum) {
RetVal = Constant::getNullValue(BB->getParent()->getReturnType());
// Create the return...
- NewTI =
new ReturnInst
(RetVal);
+ NewTI =
ReturnInst::Create
(RetVal);
}
break;