mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-29 13:24:25 +00:00
added support for implict operands in machine instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -66,6 +66,22 @@ void MethodLiveVarInfo::constructBBs()
|
||||
if(DEBUG_LV)
|
||||
LVBB->printAllSets();
|
||||
}
|
||||
|
||||
// Since the PO iterator does not discover unreachable blocks,
|
||||
// go over the random iterator and init those blocks as well.
|
||||
// However, LV info is not correct for those blocks (they are not
|
||||
// analyzed)
|
||||
|
||||
Method::const_iterator BBRI = Meth->begin(); // random iterator for BBs
|
||||
|
||||
for( ; BBRI != Meth->end(); ++BBRI, ++POId) {
|
||||
|
||||
if( ! BB2BBLVMap[ *BBRI ] )
|
||||
BB2BBLVMap[ *BBRI ] = new BBLiveVar( *BBRI, POId );
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user