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

Issue 12377032: Do not inline List factory if a non-constant argument is passed in order to prevent non-optimal cod… (Closed)

Created:
7 years, 9 months ago by srdjan
Modified:
7 years, 9 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, Vyacheslav Egorov (Google), Kevin Millikin (Google)
Visibility:
Public.

Description

Do not inline List factory if a non-constant argument is passed in order to prevent non-optimal code being generated. This is a temporary fix until we have found a better solution (maybe introduce a high-performance ? operator once its definition settles). Committed: https://code.google.com/p/dart/source/detail?r=19267

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

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

Messages

Total messages: 4 (0 generated)
srdjan
7 years, 9 months ago (2013-02-28 23:16:38 UTC) #1
Ivan Posva
LGTM with comment. -Ivan https://codereview.chromium.org/12377032/diff/3001/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/12377032/diff/3001/runtime/vm/flow_graph_inliner.cc#newcode649 runtime/vm/flow_graph_inliner.cc:649: // TODO(srdjan): Fix inlining of ...
7 years, 9 months ago (2013-02-28 23:22:31 UTC) #2
srdjan
https://codereview.chromium.org/12377032/diff/3001/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/12377032/diff/3001/runtime/vm/flow_graph_inliner.cc#newcode649 runtime/vm/flow_graph_inliner.cc:649: // TODO(srdjan): Fix inlining of List. factory. On 2013/02/28 ...
7 years, 9 months ago (2013-02-28 23:31:01 UTC) #3
srdjan
7 years, 9 months ago (2013-02-28 23:31:13 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r19267 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698