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

Issue 502953002: Implement native _List. constructor in the flow-graph builder. (Closed)

Created:
6 years, 4 months ago by Florian Schneider
Modified:
6 years, 3 months ago
Reviewers:
zra, srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Ivan Posva
Visibility:
Public.

Description

Implement native _List. constructor in the flow-graph builder. Replace assembly intrinsic and the C++ native function with a CreateArray instruction. R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=39554

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -590 lines) Patch
M runtime/lib/array.cc View 1 chunk +3 lines, -20 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 chunk +0 lines, -110 lines 0 comments Download
M runtime/vm/intrinsifier_arm64.cc View 1 chunk +0 lines, -112 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 1 chunk +0 lines, -120 lines 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 1 chunk +0 lines, -116 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 chunk +0 lines, -105 lines 0 comments Download
M runtime/vm/method_recognizer.h View 3 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Florian Schneider
There is no noticeable performance difference and this is more universal since we don't need ...
6 years, 4 months ago (2014-08-25 11:51:43 UTC) #1
zra
+srdjan I'm out this week, so giving this to Srdjan. Please also check that there ...
6 years, 3 months ago (2014-08-25 14:39:08 UTC) #2
srdjan
LGTM
6 years, 3 months ago (2014-08-25 20:43:45 UTC) #3
Florian Schneider
Committed patchset #3 manually as r39554 (presubmit successful).
6 years, 3 months ago (2014-08-26 13:57:23 UTC) #4
koda
When I disassemble the generated code for the List constructor and AllocateArray stub, it looks ...
6 years, 3 months ago (2014-08-26 21:11:37 UTC) #5
Florian Schneider
6 years, 3 months ago (2014-08-27 08:06:19 UTC) #6
Message was sent while issue was closed.
On 2014/08/26 21:11:37, koda wrote:
> When I disassemble the generated code for the List constructor and
AllocateArray
> stub, it looks like this CL didn't change anything at all. Is that expected?
> 
> (Specifically, I'm starting at "new List" in the Leaf constructor of
> SplayHarder, using --disassemble_stubs and --disassemble_optimized.)

I did not change the stub code at all here. I changed the _List. native factory
constructor (aka "List_allocate") to be generated in terms of our IL
instructions: It is now basically a CreateArrayInstr (which itself invoked the
AllocateArray stub in this case).

Powered by Google App Engine
This is Rietveld 408576698