diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-02-26 15:43:34 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-02-26 15:43:34 +0000 |
commit | 5c07584f44a93d44a8224219e0e1131cd07dafb0 (patch) | |
tree | 42b192acf911d736036ea97bad6ac9a2af0761f8 /llvm/lib | |
parent | e750212f8c1b0613fb019b627d96bca391eb72dc (diff) | |
download | bcm5719-llvm-5c07584f44a93d44a8224219e0e1131cd07dafb0.tar.gz bcm5719-llvm-5c07584f44a93d44a8224219e0e1131cd07dafb0.zip |
Use a GDM to record the returned expression in the state when VisitReturnStmt.
Use this information to find the returned value and bind it to CallExpr in
ProcessCallExit.
And there is no need to remove dead bindings in ProcessCallExit, because
a. it would clean up the return value bound to CallExpr
b. we still would do it in the next ProcessStmt(), where we would not misclean
up the return value.
llvm-svn: 97225
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions