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

Issue 161853002: Enable polymorphic inlining of StringBase [] and StringBase codeUnitAt (Closed)

Created:
6 years, 10 months ago by Cutch
Modified:
6 years, 10 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Enable polymorphic inlining of StringBase [] and StringBase codeUnitAt. R=fschneider@google.com Committed: https://code.google.com/p/dart/source/detail?r=32749

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -203 lines) Patch
M runtime/vm/flow_graph_optimizer.h View 1 2 3 2 chunks +17 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 chunks +138 lines, -194 lines 4 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 2 chunks +5 lines, -3 lines 2 comments Download
A tests/language/vm/string_polymorphic_test.dart View 1 2 3 4 1 chunk +33 lines, -0 lines 2 comments Download
M tests/language/vm/typed_data_polymorphic_view_test.dart View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Cutch
With this CL the below benchmark is sped up: test1 is sped up ~4x test2 ...
6 years, 10 months ago (2014-02-12 23:00:00 UTC) #1
Florian Schneider
Looks almost good - My only comment is about removing the bit of old code. ...
6 years, 10 months ago (2014-02-13 11:57:46 UTC) #2
Cutch
I ended up adding a generic routine for replacing an InstanceCallInstr with inlined code. It ...
6 years, 10 months ago (2014-02-13 18:15:46 UTC) #3
Cutch
Note, I had to disable inlining of [] on two byte strings. It was leading ...
6 years, 10 months ago (2014-02-13 18:44:57 UTC) #4
Florian Schneider
On 2014/02/13 18:44:57, Cutch wrote: > Note, I had to disable inlining of [] on ...
6 years, 10 months ago (2014-02-17 11:50:54 UTC) #5
Florian Schneider
LGTM. https://codereview.chromium.org/161853002/diff/140001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/161853002/diff/140001/runtime/vm/flow_graph_optimizer.cc#newcode2508 runtime/vm/flow_graph_optimizer.cc:2508: if (RawObject::IsExternalStringClassId(cid)) { Add a TODO for handling ...
6 years, 10 months ago (2014-02-17 11:56:12 UTC) #6
Cutch
https://codereview.chromium.org/161853002/diff/140001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/161853002/diff/140001/runtime/vm/flow_graph_optimizer.cc#newcode2508 runtime/vm/flow_graph_optimizer.cc:2508: if (RawObject::IsExternalStringClassId(cid)) { On 2014/02/17 11:56:12, Florian Schneider wrote: ...
6 years, 10 months ago (2014-02-18 17:00:30 UTC) #7
Cutch
6 years, 10 months ago (2014-02-18 17:41:19 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 manually as r32749 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698