forked from OSchip/llvm-project
Fix ARMAsmParser::ParseMemoryOffsetReg() where the parameter OffsetRegNum should
have been passed as a reference. llvm-svn: 85823
This commit is contained in:
parent
a15cc59dcb
commit
d9dfc2e752
|
@ -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