Skip to content

Commit

Permalink
fix WPA test case
Browse files Browse the repository at this point in the history
  • Loading branch information
bjjwwang committed Dec 9, 2024
1 parent e06cb62 commit 60f9386
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions svf/lib/SVFIR/SVFVariables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ SVFVar::SVFVar(const SVFValue* val, NodeID i, PNODEK k) :
switch (k)
{
case ValNode:
case ConstantValNode:
case ConstantDataValNode:
case GlobalValueValNode:
case BlackHoleNode:
case ConstantFPValNode:
case ConstantIntValNode:
case ConstantNullptrValNode:
case GepValNode:
{
assert(val != nullptr && "value is nullptr for ValVar or GepValNode");
Expand All @@ -60,13 +67,6 @@ SVFVar::SVFVar(const SVFValue* val, NodeID i, PNODEK k) :
}
case FunValNode:
case VarargNode:
case ConstantValNode:
case ConstantDataValNode:
case GlobalValueValNode:
case BlackHoleNode:
case ConstantFPValNode:
case ConstantIntValNode:
case ConstantNullptrValNode:
case DummyValNode:
{
isPtr = true;
Expand Down

0 comments on commit 60f9386

Please sign in to comment.