Fix ARMAsmParser::ParseMemoryOffsetReg() where the parameter OffsetRegNum should

have been passed as a reference.

llvm-svn: 85823
This commit is contained in:
Kevin Enderby 2009-11-02 20:14:39 +00:00
parent a15cc59dcb
commit d9dfc2e752
1 changed files with 2 additions and 2 deletions

View File

@ -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;