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 6f515d4ba8
commit 633b294095

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;