Fix mistakenly renamed enum element
authorbdemsky <bdemsky@uci.edu>
Fri, 1 Sep 2017 00:46:38 +0000 (17:46 -0700)
committerbdemsky <bdemsky@uci.edu>
Fri, 1 Sep 2017 00:46:38 +0000 (17:46 -0700)
src/ASTAnalyses/ordernode.h
src/ASTTransform/decomposeordertransform.cc

index 08685d4..50543ac 100644 (file)
@@ -14,7 +14,7 @@
 #include "structs.h"
 #include "orderedge.h"
 
-enum NodeStatus {NOTVISITED, VISITED, FINISHED, SATC_ADDEDTOSET};
+enum NodeStatus {NOTVISITED, VISITED, FINISHED, ADDEDTOSET};
 typedef enum NodeStatus NodeStatus;
 
 class OrderNode {
index f90a666..262497e 100644 (file)
@@ -60,12 +60,12 @@ void DecomposeOrderTransform::doTransform(){
                                else
                                        partialcandidatevec.setExpand(from->sccNum, NULL);
                        }
-                       if (from->status != SATC_ADDEDTOSET) {
-                               from->status = SATC_ADDEDTOSET;
+                       if (from->status != ADDEDTOSET) {
+                               from->status = ADDEDTOSET;
                                ((MutableSet *)neworder->set)->addElementMSet(from->id);
                        }
-                       if (to->status != SATC_ADDEDTOSET) {
-                               to->status = SATC_ADDEDTOSET;
+                       if (to->status != ADDEDTOSET) {
+                               to->status = ADDEDTOSET;
                                ((MutableSet *)neworder->set)->addElementMSet(to->id);
                        }
                        if (currOrder->type == SATC_PARTIAL) {