mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 02:59:15 +00:00
Fix ARMAsmParser::ParseMemoryOffsetReg() where the parameter OffsetRegNum should
have been passed as a reference. llvm-svn: 85823
This commit is contained in:
parent
6f515d4ba8
commit
633b294095
@ -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