call_pre_merge_hook
void call_pre_merge_hook(struct sm_state *cur, struct sm_state *other);
call_pre_merge_hook(cur, sm);