mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	Initialize MallocFunc and FreeFunc properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59538 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -58,7 +58,7 @@ namespace {
 | 
				
			|||||||
    bool doInitialization(Module &M);
 | 
					    bool doInitialization(Module &M);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    virtual bool doInitialization(Function &F) {
 | 
					    virtual bool doInitialization(Function &F) {
 | 
				
			||||||
      return BasicBlockPass::doInitialization(F);
 | 
					      return doInitialization(*F.getParent());
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /// runOnBasicBlock - This method does the actual work of converting
 | 
					    /// runOnBasicBlock - This method does the actual work of converting
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user