Skip to content

Commit b9b2961

Browse files
committed
fix namings of result operands of SVFStmts
1 parent 9b51226 commit b9b2961

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

svf/include/SVFIR/SVFStatements.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -897,8 +897,8 @@ class PhiStmt: public MultiOpndStmt
897897
//@}
898898

899899
/// constructor
900-
PhiStmt(SVFVar* s, const OPVars& opnds, const OpICFGNodeVec& icfgNodes)
901-
: MultiOpndStmt(s, opnds, SVFStmt::Phi), opICFGNodes(icfgNodes)
900+
PhiStmt(SVFVar* res, const OPVars& opnds, const OpICFGNodeVec& icfgNodes)
901+
: MultiOpndStmt(res, opnds, SVFStmt::Phi), opICFGNodes(icfgNodes)
902902
{
903903
assert(opnds.size() == icfgNodes.size() &&
904904
"Numbers of operands and their ICFGNodes are not consistent?");
@@ -971,7 +971,7 @@ class SelectStmt: public MultiOpndStmt
971971
//@}
972972

973973
/// constructor
974-
SelectStmt(SVFVar* s, const OPVars& opnds, const SVFVar* cond);
974+
SelectStmt(SVFVar* res, const OPVars& opnds, const SVFVar* cond);
975975
virtual const std::string toString() const override;
976976

977977
inline const SVFVar* getCondition() const
@@ -1061,7 +1061,7 @@ class CmpStmt: public MultiOpndStmt
10611061
//@}
10621062

10631063
/// constructor
1064-
CmpStmt(SVFVar* s, const OPVars& opnds, u32_t pre);
1064+
CmpStmt(SVFVar* res, const OPVars& opnds, u32_t pre);
10651065

10661066
u32_t getPredicate() const
10671067
{
@@ -1128,7 +1128,7 @@ class BinaryOPStmt: public MultiOpndStmt
11281128
//@}
11291129

11301130
/// constructor
1131-
BinaryOPStmt(SVFVar* s, const OPVars& opnds, u32_t oc);
1131+
BinaryOPStmt(SVFVar* res, const OPVars& opnds, u32_t oc);
11321132

11331133
u32_t getOpcode() const
11341134
{

0 commit comments

Comments
 (0)