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

Issue 12220150: When canonicalizing branch on StrictCompare ensure that branch gets correct environment. (Closed)

Created:
7 years, 10 months ago by Vyacheslav Egorov (Google)
Modified:
7 years, 9 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org
Visibility:
Public.

Description

When canonicalizing branch on StrictCompare don't fuse comparisons that can deoptimize or serve as pending deoptimization target for representation changes. R=fschneider@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=18443

Patch Set 1 #

Total comments: 2

Patch Set 2 : redo #

Patch Set 3 : remove empty line #

Total comments: 4

Patch Set 4 : address issues #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -1 line) Patch
M runtime/vm/intermediate_language.cc View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download
A tests/language/branch_canonicalization_test.dart View 1 2 3 1 chunk +65 lines, -0 lines 4 comments Download

Messages

Total messages: 7 (0 generated)
Vyacheslav Egorov (Google)
7 years, 10 months ago (2013-02-13 08:33:28 UTC) #1
Florian Schneider
LGTM. https://codereview.chromium.org/12220150/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/12220150/diff/1/runtime/vm/intermediate_language.cc#newcode1845 runtime/vm/intermediate_language.cc:1845: comp->set_env(NULL); You may also need to set a ...
7 years, 10 months ago (2013-02-13 11:22:11 UTC) #2
Vyacheslav Egorov (Google)
please take another look. I completely redid this CL addressing the issue with incorrect deoptimization ...
7 years, 10 months ago (2013-02-13 13:46:23 UTC) #3
Florian Schneider
new patch LGTM. https://codereview.chromium.org/12220150/diff/8001/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/12220150/diff/8001/runtime/vm/intermediate_language.cc#newcode1830 runtime/vm/intermediate_language.cc:1830: comp->InputAt(i)->definition()->representation()) { Indentation off. https://codereview.chromium.org/12220150/diff/8001/tests/language/branch_canonicalization_test.dart File ...
7 years, 10 months ago (2013-02-13 14:08:43 UTC) #4
Vyacheslav Egorov (Google)
Thanks. Landing. https://codereview.chromium.org/12220150/diff/8001/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/12220150/diff/8001/runtime/vm/intermediate_language.cc#newcode1830 runtime/vm/intermediate_language.cc:1830: comp->InputAt(i)->definition()->representation()) { On 2013/02/13 14:08:43, Florian Schneider ...
7 years, 10 months ago (2013-02-13 14:10:19 UTC) #5
ahe
DBC linting https://codereview.chromium.org/12220150/diff/4003/tests/language/branch_canonicalization_test.dart File tests/language/branch_canonicalization_test.dart (right): https://codereview.chromium.org/12220150/diff/4003/tests/language/branch_canonicalization_test.dart#newcode3 tests/language/branch_canonicalization_test.dart:3: // BSD-style license that can be found ...
7 years, 10 months ago (2013-02-13 14:46:23 UTC) #6
Vyacheslav Egorov (Google)
7 years, 9 months ago (2013-03-19 20:27:25 UTC) #7
Message was sent while issue was closed.
sending out stale comments.

https://codereview.chromium.org/12220150/diff/4003/tests/language/branch_cano...
File tests/language/branch_canonicalization_test.dart (right):

https://codereview.chromium.org/12220150/diff/4003/tests/language/branch_cano...
tests/language/branch_canonicalization_test.dart:3: // BSD-style license that
can be found in the LICENSE file.
On 2013/02/13 14:46:23, ahe wrote:
> Add empty line between copyright and file comment.

I am not sure what are style here is. I see a lot of tests that don't have this
empty line (I am just copying the style).

https://codereview.chromium.org/12220150/diff/4003/tests/language/branch_cano...
tests/language/branch_canonicalization_test.dart:65: 
On 2013/02/13 14:46:23, ahe wrote:
> Extra lines.

I will remove this.

Powered by Google App Engine
This is Rietveld 408576698