Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix insertBefore / implement insertAfter #1141

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

wangzun66
Copy link
Collaborator

@wangzun66 wangzun66 commented Nov 28, 2024

  • insertBefore
  • insert a stmt before a block head stmt with same trap-map
  • insert a stmt before a block head stmt with different trap-map
  • insert a stmt before a block middle/tail stmt with same trap-map
  • insert a stmt before a block middle/tail stmt with different trap-map
  • insertAfter
  • insert a stmt after a block middle/head stmt with same trap-map
  • insert a stmt after a block middle/head stmt with different trap-map
  • insert a stmt after a block tail stmt with same trap-map
  • insert a stmt after a block tail stmt with different trap-map
  • other problems
  • P1: After insertion, Blocks are not merged.
  • P2: After insertion, Information of Traps may be false.
  • P3: Sometimes(maybe with traps), a block could have two same predecessors.

@wangzun66 wangzun66 self-assigned this Nov 28, 2024
@wangzun66 wangzun66 changed the title fix insertBefore/After fix insertBefore / implement insertAfter Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant