Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(321)

Unified Diff: lib/ExecutionEngine/JIT/JIT.cpp

Issue 140041: [PATCH] Free machine code when its Function is destroyed (Closed)
Patch Set: Merge with r84967. Created 15 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/ExecutionEngine/JIT/JIT.h ('k') | lib/ExecutionEngine/JIT/JITEmitter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/ExecutionEngine/JIT/JIT.cpp
===================================================================
--- a/lib/ExecutionEngine/JIT/JIT.cpp
+++ b/lib/ExecutionEngine/JIT/JIT.cpp
@@ -556,10 +556,10 @@
}
}
-void JIT::NotifyFreeingMachineCode(const Function &F, void *OldPtr) {
+void JIT::NotifyFreeingMachineCode(void *OldPtr) {
MutexGuard locked(lock);
for (unsigned I = 0, S = EventListeners.size(); I < S; ++I) {
- EventListeners[I]->NotifyFreeingMachineCode(F, OldPtr);
+ EventListeners[I]->NotifyFreeingMachineCode(OldPtr);
}
}
« no previous file with comments | « lib/ExecutionEngine/JIT/JIT.h ('k') | lib/ExecutionEngine/JIT/JITEmitter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b