summaryrefslogtreecommitdiffstats
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
commit686a725b45a6cd44fbc29cd6618e16af12519c46 (patch)
treec0d5c30c192f0363a92e0b421e8fbbc65b638e54
parentb31a7175275d254335df994c1cc370af93c65551 (diff)
downloadbcm5719-llvm-686a725b45a6cd44fbc29cd6618e16af12519c46.tar.gz
bcm5719-llvm-686a725b45a6cd44fbc29cd6618e16af12519c46.zip
Remove a InvalidateInstructionCache call with incorrect size.
llvm-svn: 58898
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 7edeba29873..e706f89d8b0 100644
--- a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud