mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Fix ARMAsmParser::ParseMemoryOffsetReg() where the parameter OffsetRegNum should
have been passed as a reference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3774c91854
commit
60131c0d0b
@ -56,7 +56,7 @@ private:
|
||||
const MCExpr *&ShiftAmount,
|
||||
const MCExpr *&Offset,
|
||||
bool &OffsetIsReg,
|
||||
int OffsetRegNum);
|
||||
int &OffsetRegNum);
|
||||
|
||||
bool ParseShift(enum ShiftType &St, const MCExpr *&ShiftAmount);
|
||||
|
||||
@ -393,7 +393,7 @@ bool ARMAsmParser::ParseMemoryOffsetReg(bool &Negative,
|
||||
const MCExpr *&ShiftAmount,
|
||||
const MCExpr *&Offset,
|
||||
bool &OffsetIsReg,
|
||||
int OffsetRegNum) {
|
||||
int &OffsetRegNum) {
|
||||
ARMOperand Op;
|
||||
Negative = false;
|
||||
OffsetRegShifted = false;
|
||||
|
Loading…
Reference in New Issue
Block a user