]> granicus.if.org Git - clang/commit
Fix uninitialized read of CalleeWithThisReturn.
authorManman Ren <mren@apple.com>
Tue, 26 Mar 2013 18:29:15 +0000 (18:29 +0000)
committerManman Ren <mren@apple.com>
Tue, 26 Mar 2013 18:29:15 +0000 (18:29 +0000)
commit94d46b55103bf7ba0dc5425baf1eb7e4adcaa7ea
tree83b32304662c61c4103c540bbc5ca9e5178c8197
parente2359e21320f39b167b31afb0c281419361faa51
Fix uninitialized read of CalleeWithThisReturn.

Initialize CalleeWithThisReturn to 0 in the constructor.
Also revert r170815 since checking CalleeWithThisReturn is faster.

PR15598

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178053 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CodeGenFunction.cpp