X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=blobdiff_plain;f=history.cc;h=afd1f1d1752d9d4a0fde35ccef3d91c99ae572f2;hp=34ec08011bfa3d60008c158e95a6f69158d3cedc;hb=cbcd5a166532cd048a90f1ed3eb70adab4a1cfdc;hpb=8eead7359632f3d3e8271df48750da89503a3ef6 diff --git a/history.cc b/history.cc index 34ec0801..afd1f1d1 100644 --- a/history.cc +++ b/history.cc @@ -200,11 +200,6 @@ void ModelHistory::process_action(ModelAction *act, thread_id_t tid) if (act->is_read()) { func_node->update_inst_act_map(tid, act); - - // Update predicate tree position - Fuzzer * fuzzer = execution->getFuzzer(); - Predicate * selected_branch = fuzzer->get_selected_child_branch(tid); - func_node->set_predicate_tree_position(tid, selected_branch); } } @@ -569,6 +564,8 @@ void ModelHistory::print_func_node() for (uint32_t i = 1; i < func_nodes.size(); i++) { FuncNode * func_node = func_nodes[i]; + func_node->print_predicate_tree(); +/* func_inst_list_mt * entry_insts = func_node->get_entry_insts(); model_print("function %s has entry actions\n", func_node->get_func_name()); @@ -577,6 +574,7 @@ void ModelHistory::print_func_node() FuncInst *inst = it->getVal(); model_print("type: %d, at: %s\n", inst->get_type(), inst->get_position()); } + */ } }