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

Issue 2711783006: Remove HRuntimeType scheme for function types. (Closed)

Created:
3 years, 10 months ago by sra1
Modified:
3 years, 9 months ago
Reviewers:
Emily Fortuna
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove HRuntimeType scheme for function types. **** Replacing change this with https://chromiumcodereview.appspot.com/2722753002/ **** We generate the old representation for function types. Since the HRuntimeType scheme worked by translating to the old representation, this is slightly faster. BUG=

Patch Set 1 #

Patch Set 2 : format #

Total comments: 10

Patch Set 3 : delete "usesMethodOnType" #

Patch Set 4 : fix mock library #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -476 lines) Patch
M pkg/compiler/lib/src/js_backend/backend_helpers.dart View 1 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart View 1 2 3 4 chunks +19 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 chunks +10 lines, -15 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder_kernel.dart View 1 2 chunks +11 lines, -14 lines 0 comments Download
M pkg/compiler/lib/src/ssa/codegen.dart View 1 2 3 chunks +1 line, -136 lines 0 comments Download
M pkg/compiler/lib/src/ssa/graph_builder.dart View 1 2 chunks +0 lines, -110 lines 0 comments Download
M pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart View 1 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/nodes.dart View 1 2 5 chunks +2 lines, -122 lines 0 comments Download
M pkg/compiler/lib/src/ssa/ssa_tracer.dart View 1 2 3 2 chunks +1 line, -27 lines 0 comments Download
M pkg/compiler/lib/src/ssa/type_builder.dart View 1 chunk +6 lines, -1 line 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_helper.dart View 1 2 3 3 chunks +58 lines, -32 lines 1 comment Download
M sdk/lib/_internal/js_runtime/lib/js_rti.dart View 1 2 3 1 chunk +15 lines, -17 lines 0 comments Download
M tests/compiler/dart2js/mirrors_used_test.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/mock_libraries.dart View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
sra1
3 years, 10 months ago (2017-02-24 23:56:03 UTC) #2
Emily Fortuna
looks good with a few cleanup bits. https://codereview.chromium.org/2711783006/diff/20001/pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart File pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart (right): https://codereview.chromium.org/2711783006/diff/20001/pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart#newcode92 pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart:92: class FunctionWithRepresentationCheckedModeHelper ...
3 years, 10 months ago (2017-02-25 00:26:02 UTC) #3
sra1
https://codereview.chromium.org/2711783006/diff/20001/pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart File pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart (right): https://codereview.chromium.org/2711783006/diff/20001/pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart#newcode92 pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart:92: class FunctionWithRepresentationCheckedModeHelper extends CheckedModeHelper { On 2017/02/25 00:26:02, Emily ...
3 years, 9 months ago (2017-02-28 05:16:04 UTC) #4
Emily Fortuna
3 years, 9 months ago (2017-02-28 16:37:44 UTC) #6
lgtm

https://codereview.chromium.org/2711783006/diff/60001/sdk/lib/_internal/js_ru...
File sdk/lib/_internal/js_runtime/lib/js_helper.dart (right):

https://codereview.chromium.org/2711783006/diff/60001/sdk/lib/_internal/js_ru...
sdk/lib/_internal/js_runtime/lib/js_helper.dart:3563: throw 123;
maybe just add a comment here to explain that these throws are to ensure that
this code is never reached and/or throw with a more informative error message
like "Something went wrong, should not reach here."

Powered by Google App Engine
This is Rietveld 408576698