aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-23 06:48:41 +0000
committerChris Lattner <sabre@nondot.org>2009-01-23 06:48:41 +0000
commit4433a09b9fbe0de4483d3d49c0462e2b9a839851 (patch)
tree8033eac906a4508faa1db8b9516520d8a83bb697 /lib/CodeGen/StackProtector.cpp
parentc16d37ead0f07cc250d06e5cdbb3836f2f6082cd (diff)
Unconditionally reset 'cache' to zero, even if we don't need to resort it.
This avoids using a dangling pointer. Reset NumSortedEntries after restoring Cache to avoid extraneous sorts. This fixes the reduced sqlite3 testcase, but apparently not the whole app. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions