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

Issue 1961393002: VM: Optimized code for all of [External]{One|Two}ByteString::codeUnitAt. (Closed)

Created:
4 years, 7 months ago by Florian Schneider
Modified:
4 years, 7 months ago
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

VM: Optimized code for all of [External]{One|Two}ByteString::codeUnitAt. Added support for external string using flow graph based intrinsics which helps with precompiled code, but also polymorphic calls in jitted code. I also added support for the missing cases in the flow graph optimizer. BUG= R=vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/c1e6aef400fd131ee8b260ef5bd90ef2aa9c9de1

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -224 lines) Patch
M runtime/lib/string_patch.dart View 5 chunks +9 lines, -1 line 0 comments Download
M runtime/vm/aot_optimizer.cc View 4 chunks +25 lines, -10 lines 0 comments Download
M runtime/vm/constant_propagator.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 5 chunks +26 lines, -10 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language.h View 3 chunks +7 lines, -12 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 6 chunks +10 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 6 chunks +10 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 6 chunks +10 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 6 chunks +10 lines, -5 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 6 chunks +10 lines, -3 lines 0 comments Download
M runtime/vm/intrinsifier.cc View 1 chunk +62 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 chunk +0 lines, -32 lines 0 comments Download
M runtime/vm/intrinsifier_arm64.cc View 1 chunk +0 lines, -32 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 1 chunk +0 lines, -29 lines 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 1 chunk +0 lines, -35 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 chunk +0 lines, -29 lines 0 comments Download
M runtime/vm/jit_optimizer.cc View 4 chunks +25 lines, -10 lines 0 comments Download
M runtime/vm/method_recognizer.h View 3 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (2 generated)
Florian Schneider
4 years, 7 months ago (2016-05-10 13:13:00 UTC) #2
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/1961393002/diff/1/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/1961393002/diff/1/runtime/vm/flow_graph_inliner.cc#newcode2874 runtime/vm/flow_graph_inliner.cc:2874: if (RawObject::IsExternalStringClassId(cid)) { This would just return false ...
4 years, 7 months ago (2016-05-10 15:21:57 UTC) #3
Florian Schneider
https://codereview.chromium.org/1961393002/diff/1/runtime/vm/flow_graph_inliner.cc File runtime/vm/flow_graph_inliner.cc (right): https://codereview.chromium.org/1961393002/diff/1/runtime/vm/flow_graph_inliner.cc#newcode2874 runtime/vm/flow_graph_inliner.cc:2874: if (RawObject::IsExternalStringClassId(cid)) { On 2016/05/10 15:21:57, Vyacheslav Egorov (Google) ...
4 years, 7 months ago (2016-05-10 15:51:52 UTC) #4
Florian Schneider
4 years, 7 months ago (2016-05-11 07:29:35 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
c1e6aef400fd131ee8b260ef5bd90ef2aa9c9de1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698