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

Issue 2325753002: Fix bug in AOT compiler where we would propogate a result type for instances calls where the target… (Closed)

Created:
4 years, 3 months ago by rmacnak
Modified:
4 years, 3 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix bug in AOT compiler where we would propogate a result type for instances calls where the target is not known. Interacted with cid range checks to incorrectly reduce foo(x) => (x * 1.0) is double; to foo(x) { x * 1.0; return true; } R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/1bc2b0419806d8118951e7d3eed23edcb5083938

Patch Set 1 #

Total comments: 2

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -15 lines) Patch
M runtime/vm/flow_graph_inliner.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 chunks +2 lines, -12 lines 0 comments Download
M runtime/vm/object.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
rmacnak
4 years, 3 months ago (2016-09-08 20:40:07 UTC) #2
Florian Schneider
Lgtm w/comment https://chromiumcodereview.appspot.com/2325753002/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://chromiumcodereview.appspot.com/2325753002/diff/1/runtime/vm/intermediate_language.cc#newcode3201 runtime/vm/intermediate_language.cc:3201: if (FLAG_precompiled_mode && with_checks()) return false; This ...
4 years, 3 months ago (2016-09-08 20:53:53 UTC) #3
rmacnak
https://codereview.chromium.org/2325753002/diff/1/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/2325753002/diff/1/runtime/vm/intermediate_language.cc#newcode3201 runtime/vm/intermediate_language.cc:3201: if (FLAG_precompiled_mode && with_checks()) return false; On 2016/09/08 20:53:53, ...
4 years, 3 months ago (2016-09-08 21:33:40 UTC) #4
rmacnak
4 years, 3 months ago (2016-09-08 21:36:33 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
1bc2b0419806d8118951e7d3eed23edcb5083938 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698