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

Issue 2297853003: implement kernel -> ssa for simple binary expression (Closed)

Created:
4 years, 3 months ago by Harry Terkelsen
Modified:
4 years, 3 months ago
CC:
reviews_dartlang.org, dart-kernel+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : remove --disable-inlining flag #

Total comments: 7

Patch Set 3 : remove useless comment #

Patch Set 4 : add TODO, rename adapter method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -24 lines) Patch
M pkg/compiler/lib/src/kernel/kernel_visitor.dart View 4 chunks +10 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/builder_kernel.dart View 1 2 3 3 chunks +49 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart View 1 2 3 3 chunks +34 lines, -4 lines 0 comments Download
A + tests/compiler/dart2js/kernel/binary_operators_test.dart View 1 chunk +7 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/kernel/simple_function_test.dart View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Harry Terkelsen
4 years, 3 months ago (2016-08-30 22:06:21 UTC) #2
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2297853003/diff/20001/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart File pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart (right): https://codereview.chromium.org/2297853003/diff/20001/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart#newcode75 pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart:75: return _elements.getSelector(getNode(invocation)); it's good to see all of ...
4 years, 3 months ago (2016-08-31 16:47:46 UTC) #3
Harry Terkelsen
thanks, Siggi! https://codereview.chromium.org/2297853003/diff/20001/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart File pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart (right): https://codereview.chromium.org/2297853003/diff/20001/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart#newcode75 pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart:75: return _elements.getSelector(getNode(invocation)); On 2016/08/31 16:47:46, Siggi Cherem ...
4 years, 3 months ago (2016-08-31 16:57:14 UTC) #4
Harry Terkelsen
Committed patchset #4 (id:60001) manually as 227766e4acdc995c749643070b40c758fcae138b (presubmit successful).
4 years, 3 months ago (2016-08-31 16:59:38 UTC) #6
Siggi Cherem (dart-lang)
4 years, 3 months ago (2016-08-31 17:03:39 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/2297853003/diff/20001/pkg/compiler/lib/src/ss...
File pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart (right):

https://codereview.chromium.org/2297853003/diff/20001/pkg/compiler/lib/src/ss...
pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart:79: return
_elements.getTypeMask(getNode(invocation));
On 2016/08/31 16:57:14, Harry Terkelsen wrote:
> On 2016/08/31 16:47:46, Siggi Cherem (dart-lang) wrote:
> > oh my, I forgot about this one. This is likely going to be the hardest to
get
> > rid of. We might be able to make it work doing something similar to what I
> > suggested this morning for the list allocation nodes, but I'm not certain.
> 
> I'm actually not clear on the different sources of type masks. What is the
> difference between ones that come from TreeElements and ones that come from
the
> global type inference? Why not always use one or the other?

I hear you. My understanding is that these are also from the global inference,
they just happen to be stored within the tree-elements because it was cheaper to
put them there.

I'll expose this as part of the "inference results" api once I get to refactor
it. That way everything is fetched one way, even if we decide to store it
efficiently within the nodes.

Powered by Google App Engine
This is Rietveld 408576698