Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Issue 1080343003: tree-ir bugfix: Count unseen uses instead of seen uses. (Closed)

Created:
5 years, 8 months ago by asgerf
Modified:
5 years, 8 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

tree-ir bugfix: Count unseen uses instead of seen uses. Keeping track of the number of "seen uses" of a variable is too fragile since it needs bookkeeping whenever we merge two variable uses. I've changed it to track the number of unseen uses instead. The bookkeeping is simpler because we aren't going to transform an unseen use. BUG= R=kmillikin@google.com Committed: https://code.google.com/p/dart/source/detail?r=45207

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -11 lines) Patch
M pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart View 5 chunks +11 lines, -11 lines 2 comments Download

Messages

Total messages: 4 (1 generated)
asgerf
https://codereview.chromium.org/1080343003/diff/1/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart File pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart (left): https://codereview.chromium.org/1080343003/diff/1/pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart#oldcode218 pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart:218: --seenUses[node.variable]; // Do not count the use we just ...
5 years, 8 months ago (2015-04-16 12:03:55 UTC) #2
Kevin Millikin (Google)
lgtm
5 years, 8 months ago (2015-04-16 12:50:38 UTC) #3
asgerf
5 years, 8 months ago (2015-04-16 13:03:19 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 45207 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698