Skip to content
Commit e3ea48c7 authored by Chris Lattner's avatar Chris Lattner
Browse files

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.

llvm-svn: 62838
parent 9db22799
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment