JITEmitter.cpp was trying to sync the icache for function stubs, but
authorChris Lattner <sabre@nondot.org>
Fri, 25 Jan 2008 16:41:09 +0000 (16:41 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 25 Jan 2008 16:41:09 +0000 (16:41 +0000)
commit1910e2f3ecec461d1eab8c44b16c977539080a6e
tree4597585125af49c820f8f2c22d825de49a30f0b7
parenta095db13bf1f29ef75098ba71ff21851ec81ff46
JITEmitter.cpp was trying to sync the icache for function stubs, but
was actually passing a completely incorrect size to sys_icache_invalidate.
Instead of having the JITEmitter do this (which doesn't have the correct
size), just make the target sync its own stubs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46354 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/Target/PowerPC/PPCJITInfo.cpp