LLI: move instruction cache tweaks.
authorJim Grosbach <grosbach@apple.com>
Tue, 28 Aug 2012 23:22:30 +0000 (23:22 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 28 Aug 2012 23:22:30 +0000 (23:22 +0000)
commit5da959daff4d509afab8de212e0c95162c00d1bb
treeb4b48c6c7001c81517b4e598561904dfda7fcb8b
parentd26200423ee818e54d4088bd0c499caf840d866d
LLI: move instruction cache tweaks.

Invalidate the instruction cache right before we start actually executing code, otherwise
we can miss some that came later. This is still not quite right for a truly lazilly
compiled environment, but it's closer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162803 91177308-0d34-0410-b5e6-96231b3b80d8
tools/lli/lli.cpp