Adding a way for JPF to be informed that this is DPOR; otherwise number the hacked...
[jpf-core.git] / src / main / gov / nasa / jpf / listener / DPORStateReducer.java
index 13061d8aa03d5559ba740e64bd8fb5079c561d21..a8e93675828204be6e36918143903b0240568173 100644 (file)
@@ -196,6 +196,8 @@ public class DPORStateReducer extends ListenerAdapter {
       // Initialize with necessary information from the CG
       if (nextCG instanceof IntChoiceFromSet) {
         IntChoiceFromSet icsCG = (IntChoiceFromSet) nextCG;
+        // Tell JPF that we are performing DPOR
+        icsCG.setDpor();
         if (!isEndOfExecution) {
           // Check if CG has been initialized, otherwise initialize it
           Integer[] cgChoices = icsCG.getAllChoices();