Guest User

Untitled

a guest
Jan 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. string const& lhs = s.get_lhs();
  2. vexp::varexpression_ptr rhs = s.get_rhs();
  3. cexp::counterexp_ptr null_cc;
  4. int s_id = s.get_id();
  5.  
  6. env->forall_vals([&] (vexp::Environment& e) {
  7. string cur_control = make_control(e);
  8. string cur_stack = make_stack(s_id, e);
  9.  
  10. e.set_value(lhs, rhs->evaluate(e));
  11.  
  12. string next_control = make_control(e);
  13. string next_stack = make_stack(cont, e);
  14.  
  15. add_rewrite(cur_control, cur_stack, E_ACT, next_control, next_stack, null_cc);
  16. });
Add Comment
Please, Sign In to add comment