Remove a InvalidateInstructionCache call with incorrect size.

llvm-svn: 58898
This commit is contained in:
Evan Cheng 2008-11-08 08:15:39 +00:00
parent b31a717527
commit 686a725b45
1 changed files with 0 additions and 4 deletions

View File

@ -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;