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

Issue 1153243003: dart2js: Use frequency of occurence to sort metadata indices. (Closed)

Created:
5 years, 7 months ago by herhut
Modified:
5 years, 6 months ago
CC:
reviews_dartlang.org, floitsch
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 : Some cleanups #

Patch Set 2 : #

Total comments: 72

Patch Set 3 : First round of comments #

Patch Set 4 : Rebase #

Patch Set 5 : sra comments #

Total comments: 4

Patch Set 6 : Minor cleanups #

Total comments: 6

Patch Set 7 : Addressed sra's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+798 lines, -249 lines) Patch
M pkg/compiler/lib/src/constants/expressions.dart View 1 2 3 4 5 2 chunks +30 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/constants/values.dart View 1 2 3 4 5 6 3 chunks +14 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/dump_info.dart View 1 2 3 4 5 2 chunks +0 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/js/rewrite_async.dart View 1 2 3 4 5 3 chunks +32 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 3 4 5 6 2 chunks +7 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/constant_emitter.dart View 1 2 3 4 5 1 chunk +12 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/js_backend.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/namer.dart View 1 2 3 4 5 2 chunks +22 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/type_variable_handler.dart View 1 2 3 5 chunks +34 lines, -26 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/helpers.dart View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/js_emitter.dart View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/metadata_collector.dart View 1 2 3 4 4 chunks +282 lines, -59 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/model.dart View 1 2 3 chunks +9 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart View 4 chunks +10 lines, -17 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/class_builder.dart View 1 2 3 chunks +10 lines, -9 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart View 1 2 3 7 chunks +19 lines, -19 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart View 1 2 3 2 chunks +5 lines, -9 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart View 1 2 3 12 chunks +69 lines, -48 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/codegen_helpers.dart View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/optimize.dart View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/types/constants.dart View 1 2 3 4 5 2 chunks +14 lines, -2 lines 0 comments Download
M pkg/js_ast/lib/js_ast.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/js_ast/lib/src/builder.dart View 1 2 3 4 5 6 5 chunks +64 lines, -2 lines 0 comments Download
M pkg/js_ast/lib/src/nodes.dart View 1 2 3 4 5 6 8 chunks +77 lines, -3 lines 0 comments Download
M pkg/js_ast/lib/src/printer.dart View 1 2 3 4 3 chunks +33 lines, -8 lines 0 comments Download
M pkg/js_ast/lib/src/template.dart View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
herhut
Johnni, PTAL the new constants, in particular the DummyConstantExpression sra: PTAL the changes to js_ast ...
5 years, 7 months ago (2015-05-27 14:12:27 UTC) #3
sigurdm
async-rewrite: LGTM https://codereview.chromium.org/1153243003/diff/30001/pkg/compiler/lib/src/js_backend/backend.dart File pkg/compiler/lib/src/js_backend/backend.dart (right): https://codereview.chromium.org/1153243003/diff/30001/pkg/compiler/lib/src/js_backend/backend.dart#newcode218 pkg/compiler/lib/src/js_backend/backend.dart:218: static const String typeVariableReference = "TYPEVARIALE_REFERENCE"; DBC: ...
5 years, 7 months ago (2015-05-27 14:26:41 UTC) #4
sra1
https://codereview.chromium.org/1153243003/diff/30001/pkg/compiler/lib/src/constants/values.dart File pkg/compiler/lib/src/constants/values.dart (right): https://codereview.chromium.org/1153243003/diff/30001/pkg/compiler/lib/src/constants/values.dart#newcode607 pkg/compiler/lib/src/constants/values.dart:607: final payload; TL;DR: should this class be split into ...
5 years, 7 months ago (2015-05-27 19:38:51 UTC) #5
sra1
https://codereview.chromium.org/1153243003/diff/30001/pkg/compiler/lib/src/js_emitter/metadata_collector.dart File pkg/compiler/lib/src/js_emitter/metadata_collector.dart (right): https://codereview.chromium.org/1153243003/diff/30001/pkg/compiler/lib/src/js_emitter/metadata_collector.dart#newcode302 pkg/compiler/lib/src/js_emitter/metadata_collector.dart:302: } Longer term I think we need to be ...
5 years, 7 months ago (2015-05-27 20:30:16 UTC) #6
sra1
I'm excited to see some results but I can't patch. Do you know the github ...
5 years, 7 months ago (2015-05-27 20:31:18 UTC) #7
karlklose
LGTM with comments. I wonder what the general strategy for handling inconsistencies in the metadata ...
5 years, 6 months ago (2015-05-28 09:39:53 UTC) #8
Johnni Winther
Constants LGTM https://codereview.chromium.org/1153243003/diff/30001/pkg/compiler/lib/src/constants/expressions.dart File pkg/compiler/lib/src/constants/expressions.dart (right): https://codereview.chromium.org/1153243003/diff/30001/pkg/compiler/lib/src/constants/expressions.dart#newcode339 pkg/compiler/lib/src/constants/expressions.dart:339: class DummyConstantExpression extends ConstantExpression { Add a ...
5 years, 6 months ago (2015-05-28 12:07:17 UTC) #9
herhut
First round of comments addressed. https://codereview.chromium.org/1153243003/diff/30001/pkg/compiler/lib/src/constants/expressions.dart File pkg/compiler/lib/src/constants/expressions.dart (right): https://codereview.chromium.org/1153243003/diff/30001/pkg/compiler/lib/src/constants/expressions.dart#newcode339 pkg/compiler/lib/src/constants/expressions.dart:339: class DummyConstantExpression extends ConstantExpression ...
5 years, 6 months ago (2015-06-01 12:09:43 UTC) #10
herhut
addressed js_ast comments. https://codereview.chromium.org/1153243003/diff/30001/pkg/js_ast/lib/src/nodes.dart File pkg/js_ast/lib/src/nodes.dart (right): https://codereview.chromium.org/1153243003/diff/30001/pkg/js_ast/lib/src/nodes.dart#newcode933 pkg/js_ast/lib/src/nodes.dart:933: abstract class Token extends Literal { ...
5 years, 6 months ago (2015-06-09 11:10:01 UTC) #12
sra1
lgtm https://chromiumcodereview.appspot.com/1153243003/diff/110001/pkg/compiler/lib/src/js_backend/backend.dart File pkg/compiler/lib/src/js_backend/backend.dart (right): https://chromiumcodereview.appspot.com/1153243003/diff/110001/pkg/compiler/lib/src/js_backend/backend.dart#newcode216 pkg/compiler/lib/src/js_backend/backend.dart:216: static const String DUMMY_RECEIVER = "DUMMY_INTERCEPTOR"; Should this ...
5 years, 6 months ago (2015-06-10 19:30:00 UTC) #13
herhut
https://chromiumcodereview.appspot.com/1153243003/diff/110001/pkg/compiler/lib/src/js_backend/backend.dart File pkg/compiler/lib/src/js_backend/backend.dart (right): https://chromiumcodereview.appspot.com/1153243003/diff/110001/pkg/compiler/lib/src/js_backend/backend.dart#newcode216 pkg/compiler/lib/src/js_backend/backend.dart:216: static const String DUMMY_RECEIVER = "DUMMY_INTERCEPTOR"; On 2015/06/10 19:29:59, ...
5 years, 6 months ago (2015-06-11 08:03:55 UTC) #14
herhut
5 years, 6 months ago (2015-06-11 08:13:38 UTC) #15
Message was sent while issue was closed.
Committed patchset #7 (id:150001) manually as
e0e96624b95d6a189af6288012b8a8d5fc78f5b3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698