aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/JIT
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-11-08 08:15:39 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-11-08 08:15:39 +0000
commitfff484f1926cf26af3d6b5082ece88701164cfc3 (patch)
treedab75f1cd2e0485a29f90f521df369242d7727d1 /lib/ExecutionEngine/JIT
parentce4a70bd7608861e104b04265a0c71e5df8ecefe (diff)
downloadexternal_llvm-fff484f1926cf26af3d6b5082ece88701164cfc3.zip
external_llvm-fff484f1926cf26af3d6b5082ece88701164cfc3.tar.gz
external_llvm-fff484f1926cf26af3d6b5082ece88701164cfc3.tar.bz2
Remove a InvalidateInstructionCache call with incorrect size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58898 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT')
-rw-r--r--lib/ExecutionEngine/JIT/JITEmitter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 7edeba2..e706f89 100644
--- a/lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp
@@ -1133,10 +1133,6 @@ void JITEmitter::startGVStub(const GlobalValue* GV, unsigned StubSize,
void *JITEmitter::finishGVStub(const GlobalValue* GV) {
NumBytes += getCurrentPCOffset();
-
- // Invalidate the icache if necessary.
- sys::Memory::InvalidateInstructionCache(BufferBegin, NumBytes);
-
std::swap(SavedBufferBegin, BufferBegin);
BufferEnd = SavedBufferEnd;
CurBufferPtr = SavedCurBufferPtr;