Files
sdk/pkg/compiler
Asger Feldthaus 6f3b69d365 dart2js cps: Refactor tracking of side effects.
Primitives now getter for its side effects, as a bitmask.

This avoids a lot of code duplication between GVN, BoundsChecker, and
LoopSideEffects.

There are more flags than those in the SideEffects class (which is used
by the SSA backend, foreign code annotations, and type inference).

We are going to need these extra flags in general, but I want to use
them in the CPS first to see how they work out.

Upcoming changes which are "loose ends" in this CL to keep it manageable:
- Simplify GvnVectorBuilder using dependency flags.
- Stop the overuse of isSafeForElimination.
- Add the extra flags to the rest of the compiler.

BUG=
R=sigmund@google.com

Committed: https://github.com/dart-lang/sdk/commit/7f6c587de6654ea0b33d23d1c55a8f2a29316d1f

Reverted: https://github.com/dart-lang/sdk/commit/a7fe3b140cf93f52cbed72d448c4229c4102ac6a

Review URL: https://codereview.chromium.org/1645053002 .
2016-02-29 15:41:02 +01:00
..
2016-02-24 07:40:36 -08:00
2015-10-05 10:20:36 -07:00
2016-01-13 15:01:05 -08:00