commit | 4433a09b9fbe0de4483d3d49c0462e2b9a839851 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Jan 23 06:48:41 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Jan 23 06:48:41 2009 +0000 |
tree | 8033eac906a4508faa1db8b9516520d8a83bb697 | |
parent | c16d37ead0f07cc250d06e5cdbb3836f2f6082cd [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