mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Fix a bunch of things from Chris' feedback
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -28,7 +28,7 @@ class Function;
|
||||
class FunctionPass;
|
||||
class Instruction;
|
||||
|
||||
class VISIBILITY_HIDDEN MemoryDependenceAnalysis : public FunctionPass {
|
||||
class MemoryDependenceAnalysis : public FunctionPass {
|
||||
private:
|
||||
|
||||
DenseMap<Instruction*, std::pair<Instruction*, bool> > depGraphLocal;
|
||||
@ -44,10 +44,12 @@ class VISIBILITY_HIDDEN MemoryDependenceAnalysis : public FunctionPass {
|
||||
|
||||
/// Pass Implementation stuff. This doesn't do any analysis.
|
||||
///
|
||||
bool runOnFunction(Function &) {
|
||||
bool runOnFunction(Function &) {return false; }
|
||||
|
||||
/// Clean up memory in between runs
|
||||
void releaseMemory() {
|
||||
depGraphLocal.clear();
|
||||
reverseDep.clear();
|
||||
return false;
|
||||
}
|
||||
|
||||
/// getAnalysisUsage - Does not modify anything. It uses Value Numbering
|
||||
|
Reference in New Issue
Block a user