mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Identify unconditional gotos and generate a page sel instructions before them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -133,6 +133,8 @@ public:
|
||||
if (MO.isGlobal())
|
||||
return addGlobalAddress(MO.getGlobal(), MO.getOffset(),
|
||||
MO.getTargetFlags());
|
||||
if (MO.isMBB())
|
||||
return addMBB(MO.getMBB());
|
||||
if (MO.isCPI())
|
||||
return addConstantPoolIndex(MO.getIndex(), MO.getOffset(),
|
||||
MO.getTargetFlags());
|
||||
|
Reference in New Issue
Block a user