Chromium Code Reviews
DescriptionRemove dead elements from the MemorySet in load elimination.
The old code killed bindings by storing `null`. It is possible to
construct straight-line code with takes time and space O(N^2) to do
load elimination, since all the useless nulled-out bindings are
re-walked on every killAffectedBy call.
Luckily most of our generated code has some joins which cause the
intersection to be computed which deletes the unused bindings.
BUG=
R=sigmund@google.com
Committed: https://github.com/dart-lang/sdk/commit/8d62ce1042e5a4e395701afeb92c11431d4c8b80
Patch Set 1 #Patch Set 2 : reuse list #Messages
Total messages: 6 (2 generated)
|