DescriptionMake IL instructions a doubly-linked list within basic blocks.
In order to be able to efficiently iterate backwards over instructions
and removing or replacing instructions in the graph we want them to
be a double-linked list inside basic blocks. The list has the following
1. Block entry instructions do not have a previous instruction.
2. The last instruction in a block may or may not have a next instruction:
- Branches have a NULL-successor.
- Normal block exits have a block entry instructions as successor.
This CL also makes the accessor for previous and next instruction in this
list non-virtual. This avoidis the current code duplication there.
Committed: https://code.google.com/p/dart/source/detail?r=9297
Patch Set 1 #Patch Set 2 : use_ssa flag off by default #
Total comments: 11
Patch Set 3 : #
Messages
Total messages: 4 (0 generated)
|