예제 #1
0
 private void UpdateBranchState(String[] sep)
 {
     if (isConditionalBranch(sep))
     {
         if (BranchTaken(sep))
         {
             branchState = ConditionalBranchState.Taken;
         }
         else
         {
             branchState = ConditionalBranchState.NotTaken;
         }
     }
     else
     {
         branchState = ConditionalBranchState.NotConditional;
     }
 }
예제 #2
0
 private void UpdateBranchState(String[] sep)
 {
     if (isConditionalBranch(sep))
     {
         if (BranchTaken(sep))
         {
             branchState = ConditionalBranchState.Taken;
         }
         else
         {
             branchState = ConditionalBranchState.NotTaken;
         }
     }
     else
     {
         branchState = ConditionalBranchState.NotConditional;
     }
 }