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

Issue 2280133002: implement kernel -> ssa for literals (Closed)

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

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : put ast accesses in separate class #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -7 lines) Patch
M pkg/compiler/lib/src/kernel/kernel_visitor.dart View 2 chunks +5 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/builder_kernel.dart View 1 6 chunks +39 lines, -4 lines 1 comment Download
A pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart View 1 1 chunk +31 lines, -0 lines 1 comment Download
M tests/compiler/dart2js/kernel/simple_function_test.dart View 1 chunk +24 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Harry Terkelsen
4 years, 3 months ago (2016-08-26 18:01:20 UTC) #2
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2280133002/diff/1/pkg/compiler/lib/src/ssa/builder_kernel.dart File pkg/compiler/lib/src/ssa/builder_kernel.dart (right): https://codereview.chromium.org/2280133002/diff/1/pkg/compiler/lib/src/ssa/builder_kernel.dart#newcode130 pkg/compiler/lib/src/ssa/builder_kernel.dart:130: ConstantValue getConstantForNode(ast.Node node) { Let's create a library ...
4 years, 3 months ago (2016-08-26 18:15:58 UTC) #3
Harry Terkelsen
https://codereview.chromium.org/2280133002/diff/1/pkg/compiler/lib/src/ssa/builder_kernel.dart File pkg/compiler/lib/src/ssa/builder_kernel.dart (right): https://codereview.chromium.org/2280133002/diff/1/pkg/compiler/lib/src/ssa/builder_kernel.dart#newcode130 pkg/compiler/lib/src/ssa/builder_kernel.dart:130: ConstantValue getConstantForNode(ast.Node node) { On 2016/08/26 18:15:57, Siggi Cherem ...
4 years, 3 months ago (2016-08-26 19:52:58 UTC) #4
Harry Terkelsen
Committed patchset #2 (id:20001) manually as a89daf07c4ee6e6cff72faa1af6045bf162a4fa4 (presubmit successful).
4 years, 3 months ago (2016-08-26 19:53:34 UTC) #6
Siggi Cherem (dart-lang)
thanks! https://codereview.chromium.org/2280133002/diff/20001/pkg/compiler/lib/src/ssa/builder_kernel.dart File pkg/compiler/lib/src/ssa/builder_kernel.dart (right): https://codereview.chromium.org/2280133002/diff/20001/pkg/compiler/lib/src/ssa/builder_kernel.dart#newcode5 pkg/compiler/lib/src/ssa/builder_kernel.dart:5: import 'package:compiler/src/ssa/kernel_ast_adapter.dart'; nit: use relative import? (just to ...
4 years, 3 months ago (2016-08-26 20:27:11 UTC) #7
Harry Terkelsen
On 2016/08/26 20:27:11, Siggi Cherem (dart-lang) wrote: > thanks! > > https://codereview.chromium.org/2280133002/diff/20001/pkg/compiler/lib/src/ssa/builder_kernel.dart > File pkg/compiler/lib/src/ssa/builder_kernel.dart ...
4 years, 3 months ago (2016-08-26 20:30:21 UTC) #8
Siggi Cherem (dart-lang)
4 years, 3 months ago (2016-08-26 20:45:05 UTC) #9
Message was sent while issue was closed.
On 2016/08/26 20:30:21, Harry Terkelsen wrote:
> On 2016/08/26 20:27:11, Siggi Cherem (dart-lang) wrote:
> > thanks!
> > 
> >
>
https://codereview.chromium.org/2280133002/diff/20001/pkg/compiler/lib/src/ss...
> > File pkg/compiler/lib/src/ssa/builder_kernel.dart (right):
> > 
> >
>
https://codereview.chromium.org/2280133002/diff/20001/pkg/compiler/lib/src/ss...
> > pkg/compiler/lib/src/ssa/builder_kernel.dart:5: import
> > 'package:compiler/src/ssa/kernel_ast_adapter.dart';
> > nit: use relative import? (just to be homogeneous with the code below)
> > 
> >
>
https://codereview.chromium.org/2280133002/diff/20001/pkg/compiler/lib/src/ss...
> > File pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart (right):
> > 
> >
>
https://codereview.chromium.org/2280133002/diff/20001/pkg/compiler/lib/src/ss...
> > pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart:23: ConstantValue
> > getConstantFor(ir.Node node) {
> > it seems to me like you only use this for Symbol, maybe we should restrict
it
> to
> > just that?
> 
> Thanks! I'll include these changes in the next kernel->ssa CL

Thanks, that sounds great.

Actually I might go ahead and fix the packge:url on my next set of .status
updates I'm doing for --fast-startup.

Surprisingly, the import broke dart2js/analyze_unused_dart2js_test :-(. I think
that test loads dart2js via file:/// urls, so the import add a duplicate set of
libraries to our compiler...

Powered by Google App Engine
This is Rietveld 408576698