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

Issue 25898002: Skip AssertAssignable in code generator if optimizer could establish that (Closed)

Created:
7 years, 2 months ago by regis
Modified:
7 years, 2 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Skip AssertAssignable in code generator if optimizer could establish that destination type is dynamic or Object (issue 13795). R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=28235

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -5 lines) Patch
M runtime/vm/intermediate_language.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
regis
7 years, 2 months ago (2013-10-03 17:55:30 UTC) #1
regis
Wait a second. I need the same fix on all architectures, of course :-)
7 years, 2 months ago (2013-10-03 17:58:58 UTC) #2
srdjan
https://codereview.chromium.org/25898002/diff/1/runtime/vm/flow_graph_compiler_ia32.cc File runtime/vm/flow_graph_compiler_ia32.cc (right): https://codereview.chromium.org/25898002/diff/1/runtime/vm/flow_graph_compiler_ia32.cc#newcode671 runtime/vm/flow_graph_compiler_ia32.cc:671: } This elimination belongs in AssertAssignableInstr::Canonicalize: if (.....) { ...
7 years, 2 months ago (2013-10-03 18:00:09 UTC) #3
regis
Thanks! Much better indeed. PTAL https://codereview.chromium.org/25898002/diff/1/runtime/vm/flow_graph_compiler_ia32.cc File runtime/vm/flow_graph_compiler_ia32.cc (right): https://codereview.chromium.org/25898002/diff/1/runtime/vm/flow_graph_compiler_ia32.cc#newcode671 runtime/vm/flow_graph_compiler_ia32.cc:671: } On 2013/10/03 18:00:09, ...
7 years, 2 months ago (2013-10-03 18:20:52 UTC) #4
srdjan
LGTM (Should we remove eliminate_type_checks flag?)
7 years, 2 months ago (2013-10-03 18:27:18 UTC) #5
regis
Thanks. I have not used this flag in a long time. Yes, I think we ...
7 years, 2 months ago (2013-10-03 18:31:54 UTC) #6
regis
7 years, 2 months ago (2013-10-03 18:32:13 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r28235 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698