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

Issue 1409523003: Trace through const objects instead of spying on flow graph construction to find closure functions.… (Closed)

Created:
5 years, 2 months ago by rmacnak
Modified:
5 years, 2 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Trace through const objects instead of spying on flow graph construction to find closure functions. Allows dropping local closure functions the optimizing compiler removes. Remove a dead local function from Uri.parse. Don't rely on HasCode to indicate a function's callees have been visited because it misses functions compiled by const evaluation. Add missing VM entry point. dart2js ARM libprecompiled.so -2.7% precompiled.isolate -3.4% R=srdjan@google.com Committed: https://github.com/dart-lang/sdk/commit/a9fcf0ee8b20d94ff886bc5ff55954c989a36e6d

Patch Set 1 #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -122 lines) Patch
M runtime/vm/flow_graph_builder.cc View 2 chunks +1 line, -25 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 chunks +0 lines, -6 lines 0 comments Download
M runtime/vm/isolate.cc View 1 3 chunks +0 lines, -9 lines 0 comments Download
M runtime/vm/precompiler.h View 1 3 chunks +24 lines, -2 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 2 9 chunks +82 lines, -75 lines 0 comments Download
M sdk/lib/core/uri.dart View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
rmacnak
5 years, 2 months ago (2015-10-14 20:50:15 UTC) #2
srdjan
lgtm https://codereview.chromium.org/1409523003/diff/20001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/1409523003/diff/20001/runtime/vm/precompiler.cc#newcode418 runtime/vm/precompiler.cc:418: if (!instance.raw()->IsHeapObject()) return; Maybe more readable: if (instance.IsSmi()) ...
5 years, 2 months ago (2015-10-14 21:04:11 UTC) #3
rmacnak
https://codereview.chromium.org/1409523003/diff/20001/runtime/vm/precompiler.cc File runtime/vm/precompiler.cc (right): https://codereview.chromium.org/1409523003/diff/20001/runtime/vm/precompiler.cc#newcode418 runtime/vm/precompiler.cc:418: if (!instance.raw()->IsHeapObject()) return; On 2015/10/14 21:04:11, srdjan wrote: > ...
5 years, 2 months ago (2015-10-14 22:22:41 UTC) #4
rmacnak
5 years, 2 months ago (2015-10-14 22:30:48 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
a9fcf0ee8b20d94ff886bc5ff55954c989a36e6d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698