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

Issue 94303002: Add another type JSPositiveInt to show a range analysis in the inferrer would be very beneficial :-… (Closed)

Created:
7 years ago by ngeoffray
Modified:
7 years ago
Reviewers:
kasperl, sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add another type JSPositiveInt to show a range analysis in the inferrer would be very beneficial :-). R=kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=30759

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -57 lines) Patch
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/constants.dart View 1 2 chunks +2 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/inferrer/inferrer_visitor.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart View 1 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart View 1 1 chunk +7 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/inferrer/type_graph_nodes.dart View 1 3 chunks +15 lines, -4 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 7 chunks +8 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart View 1 5 chunks +45 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/nodes.dart View 1 1 chunk +11 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/optimize.dart View 1 2 chunks +6 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/types_propagation.dart View 1 2 chunks +19 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/value_range_analyzer.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart View 1 2 chunks +2 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/types.dart View 1 2 chunks +9 lines, -0 lines 0 comments Download
M sdk/lib/_internal/lib/js_array.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/lib/js_number.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/typed_data/dart2js/typed_data_dart2js.dart View 1 13 chunks +18 lines, -17 lines 0 comments Download
M tests/compiler/dart2js/field_type_simple_inferer_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/list_tracer_test.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_test.dart View 1 3 chunks +19 lines, -19 lines 0 comments Download
M tests/compiler/dart2js/value_range_test.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M tests/utils/dummy_compiler_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ngeoffray
7 years ago (2013-11-28 08:56:09 UTC) #1
kasperl
LGTM, but consider changing positive -> non-negative in another CL. https://codereview.chromium.org/94303002/diff/1/sdk/lib/_internal/compiler/implementation/constants.dart File sdk/lib/_internal/compiler/implementation/constants.dart (right): https://codereview.chromium.org/94303002/diff/1/sdk/lib/_internal/compiler/implementation/constants.dart#newcode167 ...
7 years ago (2013-11-28 09:09:46 UTC) #2
sra1
I think we can do better without this type :-) JavaScript arrays and typed arrays ...
7 years ago (2013-11-28 09:21:03 UTC) #3
ngeoffray
Thanks Kasper and Stephen. I will rename the type in another CL. https://codereview.chromium.org/94303002/diff/1/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_nodes.dart File sdk/lib/_internal/compiler/implementation/inferrer/type_graph_nodes.dart ...
7 years ago (2013-11-28 11:21:47 UTC) #4
ngeoffray
7 years ago (2013-11-28 11:22:52 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r30759 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698