Skip to content

Commit

Permalink
Fixed MediumLevelILInstructionBase::GetNonSSAForm
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1F9F1 authored and plafosse committed Oct 22, 2018
1 parent d92a81a commit 9e963f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mediumlevelilinstruction.cpp
Expand Up @@ -1166,7 +1166,7 @@ MediumLevelILInstruction MediumLevelILInstructionBase::GetSSAForm() const
return *this;
size_t expr = GetSSAExprIndex();
size_t instr = GetSSAInstructionIndex();
return MediumLevelILInstruction(ssa, ssa->GetRawExpr(GetSSAExprIndex()), expr, instr);
return MediumLevelILInstruction(ssa, ssa->GetRawExpr(expr), expr, instr);
}


Expand All @@ -1177,7 +1177,7 @@ MediumLevelILInstruction MediumLevelILInstructionBase::GetNonSSAForm() const
return *this;
size_t expr = GetNonSSAExprIndex();
size_t instr = GetNonSSAInstructionIndex();
return MediumLevelILInstruction(nonSsa, nonSsa->GetRawExpr(GetSSAExprIndex()), expr, instr);
return MediumLevelILInstruction(nonSsa, nonSsa->GetRawExpr(expr), expr, instr);
}


Expand Down

0 comments on commit 9e963f8

Please sign in to comment.