cyclegraph: template-ize addRMWEdge()
[model-checker.git] / main.cc
diff --git a/main.cc b/main.cc
index a1115721436706f2007d23cd7fc4c4733f09c28f..dc3f6f4dca002d6e763e5bbf25068260d3edc828 100644 (file)
--- a/main.cc
+++ b/main.cc
@@ -123,11 +123,10 @@ static void model_main()
        //Initialize race detector
        initRaceDetector();
 
-       //Create the singleton SnapshotStack object
-       snapshotObject = new SnapshotStack();
+       snapshot_stack_init();
 
        model = new ModelChecker(params);
-       snapshotObject->snapshotStep(0);
+       snapshot_record(0);
        model->run();
        delete model;
 
@@ -147,5 +146,5 @@ int main(int argc, char **argv)
        redirect_output();
 
        /* Let's jump in quickly and start running stuff */
-       initSnapshotLibrary(10000, 1024, 1024, 4000, &model_main);
+       snapshot_system_init(10000, 1024, 1024, 4000, &model_main);
 }