[llvm-rtdyld] Don't waste cycles invalidating instruction cache.
authorDavide Italiano <davide@freebsd.org>
Tue, 17 Nov 2015 16:37:52 +0000 (16:37 +0000)
committerDavide Italiano <davide@freebsd.org>
Tue, 17 Nov 2015 16:37:52 +0000 (16:37 +0000)
commita17892dba0312a9bcd27938cf99bc32da1203cd7
tree587c6335b6f28dc03760dadc760a5e917fd4582c
parentfa084bd00c2affb7b94766f2e5b06b953e959ab8
[llvm-rtdyld] Don't waste cycles invalidating instruction cache.

Now that setExecutable() changed to do all the ground work to make
memory executable on the host, we can remove all (redundant) calls
to invalidate instruction cache here.

As an added bonus, this makes invalidateInstructionCache() dead
code, so it can be removed.

Differential Revision: http://reviews.llvm.org/D13631

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