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:
9de906c
)
Avoid extra copy
author
Chris Lattner
<sabre@nondot.org>
Sun, 20 Oct 2002 22:12:06 +0000
(22:12 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 20 Oct 2002 22:12:06 +0000
(22:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4239
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/Local.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/Local.cpp
b/lib/Analysis/DataStructure/Local.cpp
index 037e36197c8c9a4ea11a9614c71bb077bb277717..7a749a1a7957619b0ce477906af39a88b77bc5ca 100644
(file)
--- a/
lib/Analysis/DataStructure/Local.cpp
+++ b/
lib/Analysis/DataStructure/Local.cpp
@@
-216,7
+216,6
@@
DSNodeHandle &GraphBuilder::getValueDest(Value &V) {
}
-
/// getLink - This method is used to return the specified link in the
/// specified node if one exists. If a link does not already exist (it's
/// null), then we create a new node, link it, then return it. We must
@@
-356,7
+355,7
@@
void GraphBuilder::visitReturnInst(ReturnInst &RI) {
void GraphBuilder::visitCallInst(CallInst &CI) {
// Add a new function call entry...
- FunctionCalls.push_back(
DSCallSite(CI)
);
+ FunctionCalls.push_back(
CI
);
DSCallSite &Args = FunctionCalls.back();
// Set up the return value...