mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-18 06:38:41 +00:00
make offset operand optional.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45434 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
39697a83b5
commit
c672a1fb04
@ -333,7 +333,7 @@ public:
|
||||
Op.auxInfo.offset = Offset;
|
||||
return Op;
|
||||
}
|
||||
static MachineOperand CreateES(const char *SymName, int Offset) {
|
||||
static MachineOperand CreateES(const char *SymName, int Offset = 0) {
|
||||
MachineOperand Op;
|
||||
Op.opType = MachineOperand::MO_ExternalSymbol;
|
||||
Op.contents.SymbolName = SymName;
|
||||
|
Loading…
x
Reference in New Issue
Block a user