mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
s/Method/Function
Remove extraneous #includes of llvm/Assembly/Writer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2178 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -199,7 +199,7 @@ bool doConstantPropogation(BasicBlock *BB, BasicBlock::iterator &II) {
|
||||
static bool DoConstPropPass(Function *F) {
|
||||
bool SomethingChanged = false;
|
||||
|
||||
for (Method::iterator BBI = F->begin(); BBI != F->end(); ++BBI) {
|
||||
for (Function::iterator BBI = F->begin(); BBI != F->end(); ++BBI) {
|
||||
BasicBlock *BB = *BBI;
|
||||
for (BasicBlock::iterator I = BB->begin(); I != BB->end(); )
|
||||
if (doConstantPropogation(BB, I))
|
||||
|
||||
Reference in New Issue
Block a user