Skip to content

Commit

Permalink
Issue #28: fix frame object strides.
Browse files Browse the repository at this point in the history
  • Loading branch information
lialan committed Nov 22, 2019
1 parent 06920fb commit cb84829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/EVM/EVMRegisterInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void EVMRegisterInfo::eliminateFrameIndex(
int FrameIndex = MI.getOperand(FIOperandNum).getIndex();
Register FrameReg = getFrameRegister(MF);

int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex) * 32;
int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex);

unsigned fiReg = FrameReg;
if (Offset != 0) {
Expand Down

0 comments on commit cb84829

Please sign in to comment.