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:
c9699cc
)
Really, only if reopen
author
Chris Lattner
<sabre@nondot.org>
Tue, 2 Mar 2004 20:46:18 +0000
(20:46 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 2 Mar 2004 20:46:18 +0000
(20:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12080
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 dea8e9f3601e8aa1f940fc5334bb155c8cd64ca2..a313bd5c5663ac649b8b2ae4c0a69770495c65fb 100644
(file)
--- a/
lib/Analysis/DataStructure/Local.cpp
+++ b/
lib/Analysis/DataStructure/Local.cpp
@@
-581,7
+581,8
@@
void GraphBuilder::visitCallSite(CallSite CS) {
// If this is freopen, merge the file descriptor passed in with the
// result.
- Result.mergeWith(getValueDest(**--CS.arg_end()));
+ if (F->getName() == "freopen")
+ Result.mergeWith(getValueDest(**--CS.arg_end()));
return;
} else if (F->getName() == "fclose" && CS.arg_end()-CS.arg_begin() ==1){