summaryrefslogtreecommitdiff
path: root/mediumlevelilinstruction.cpp
diff options
context:
space:
mode:
authorBrick <samuelwilde@hotmail.com>2018-10-19 15:54:11 +0100
committerplafosse <peter@vector35.com>2018-10-22 10:30:28 -0400
commit9e963f8c1b72da7103a3a54dd0d8ac91e954d6d5 (patch)
tree30fccdc288f2339b0a05577d144c6130d55f3b8f /mediumlevelilinstruction.cpp
parentd92a81a5d0812c9c19b2feddb8927a775cfc0da0 (diff)
Fixed MediumLevelILInstructionBase::GetNonSSAForm
Diffstat (limited to 'mediumlevelilinstruction.cpp')
-rw-r--r--mediumlevelilinstruction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediumlevelilinstruction.cpp b/mediumlevelilinstruction.cpp
index 08472004..ff779294 100644
--- a/mediumlevelilinstruction.cpp
+++ b/mediumlevelilinstruction.cpp
@@ -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);
}
@@ -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);
}