projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce4a70b
)
Remove a InvalidateInstructionCache call with incorrect size.
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 8 Nov 2008 08:15:39 +0000
(08:15 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 8 Nov 2008 08:15:39 +0000
(08:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58898
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/JIT/JITEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/JIT/JITEmitter.cpp
b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 7edeba298737d3aae15565b996ff51bb6e0d3dfd..e706f89d8b078dc0782c3b45d169ac9ea294e545 100644
(file)
--- 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;