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

Issue 2640993003: VM: [Cleanup] Delete legacy code associated with BranchInstr. (Closed)

Created:
3 years, 11 months ago by Vyacheslav Egorov (Google)
Modified:
3 years, 11 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org, kustermann
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: [Cleanup] Delete legacy code associated with BranchInstr. 1) BranchInstr::is_checked() was introduced back in the day when unoptimized IR could contain comparisons like RelationalOp - these days unoptimized IR can only contain StrictCompareInstr, other comparisons are represented as calls and can't be merged into the branch, making BranchInstr::is_checked() obsolete. 2) Constrained type support is no longer used: we deleted parts of the flow graph type propagator that propagated non-nullable types down from comparison with null (due to LICM issue). R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/67576af5f232b8b83e27f4b5c06872ed9c48c40c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Done #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -101 lines) Patch
M runtime/vm/branch_optimizer.cc View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_builder.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 chunks +4 lines, -19 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.h View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 2 chunks +0 lines, -25 lines 0 comments Download
M runtime/vm/intermediate_language.h View 6 chunks +1 line, -53 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Vyacheslav Egorov (Google)
Hi Florian, PTAL
3 years, 11 months ago (2017-01-18 20:31:51 UTC) #3
Florian Schneider
Lgtm. 1. Good find and definitely not needed anymore. 2. I'd like to re-introduce propagating ...
3 years, 11 months ago (2017-01-18 22:31:18 UTC) #4
Vyacheslav Egorov (Google)
2) Yeah I would like to reintroduce both not-null-ness and type refinement. We either need ...
3 years, 11 months ago (2017-01-18 22:35:11 UTC) #5
Vyacheslav Egorov (Google)
3 years, 11 months ago (2017-01-18 22:59:03 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
67576af5f232b8b83e27f4b5c06872ed9c48c40c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698