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

Issue 12852007: Improve code for !identical(a, b): (Closed)

Created:
7 years, 9 months ago by srdjan
Modified:
7 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Improve code for !identical(a, b): "x = (a === b); y = (x !== true)" => "y = (a !== b)". Committed: https://code.google.com/p/dart/source/detail?r=20550

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -30 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 3 chunks +11 lines, -26 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 5 6 3 chunks +21 lines, -3 lines 0 comments Download
M runtime/vm/token.h View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
A tests/language/identical_test.dart View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
srdjan
7 years, 9 months ago (2013-03-23 00:16:26 UTC) #1
Kevin Millikin (Google)
I think we should keep all the "comparison folding" optimizations in the same pass. For ...
7 years, 9 months ago (2013-03-25 09:58:08 UTC) #2
srdjan
Thanks, PTAL. https://codereview.chromium.org/12852007/diff/4001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/12852007/diff/4001/runtime/vm/flow_graph_optimizer.cc#newcode2129 runtime/vm/flow_graph_optimizer.cc:2129: Token::kEQ_STRICT : Token::kNE_STRICT; On 2013/03/25 09:58:08, kmillikin ...
7 years, 9 months ago (2013-03-25 21:12:11 UTC) #3
Kevin Millikin (Google)
I have a few small comments. LGTM if you address them or choose to ignore ...
7 years, 9 months ago (2013-03-26 12:48:31 UTC) #4
srdjan
https://codereview.chromium.org/12852007/diff/17001/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/12852007/diff/17001/runtime/vm/intermediate_language.cc#newcode1294 runtime/vm/intermediate_language.cc:1294: // x = (a === b); y = x ...
7 years, 9 months ago (2013-03-26 22:35:25 UTC) #5
srdjan
7 years, 9 months ago (2013-03-26 23:41:34 UTC) #6
Message was sent while issue was closed.
Committed patchset #7 manually as r20550 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698