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

Issue 1394213002: Split RuntimesTypes into RuntimeTypes and RuntimeTypesEncoder (Closed)

Created:
5 years, 2 months ago by Johnni Winther
Modified:
5 years, 2 months ago
Reviewers:
karlklose
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Split RuntimesTypes into RuntimeTypes and RuntimeTypesEncoder BUG= R=karlklose@google.com Committed: https://github.com/dart-lang/sdk/commit/da0a18de447fb5d78e71708d2c5ea439fac14503

Patch Set 1 #

Total comments: 7

Patch Set 2 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, -186 lines) Patch
M pkg/compiler/lib/src/js_backend/backend.dart View 3 chunks +4 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/glue.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/constant_emitter.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/namer.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/runtime_types.dart View 1 16 chunks +256 lines, -149 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart View 4 chunks +5 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/js_emitter.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart View 2 chunks +2 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/metadata_collector.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart View 4 chunks +14 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/startup_emitter/emitter.dart View 2 chunks +2 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 4 chunks +5 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/ssa/codegen.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (1 generated)
Johnni Winther
Main changes in runtime_types.dart
5 years, 2 months ago (2015-10-08 10:10:37 UTC) #2
karlklose
LGTM! https://codereview.chromium.org/1394213002/diff/1/pkg/compiler/lib/src/js_backend/runtime_types.dart File pkg/compiler/lib/src/js_backend/runtime_types.dart (right): https://codereview.chromium.org/1394213002/diff/1/pkg/compiler/lib/src/js_backend/runtime_types.dart#newcode18 pkg/compiler/lib/src/js_backend/runtime_types.dart:18: abstract class RuntimeTypes { Maybe rename to something ...
5 years, 2 months ago (2015-10-08 10:28:13 UTC) #3
Johnni Winther
Committed patchset #2 (id:20001) manually as da0a18de447fb5d78e71708d2c5ea439fac14503 (presubmit successful).
5 years, 2 months ago (2015-10-08 11:59:25 UTC) #4
Johnni Winther
https://codereview.chromium.org/1394213002/diff/1/pkg/compiler/lib/src/js_backend/runtime_types.dart File pkg/compiler/lib/src/js_backend/runtime_types.dart (right): https://codereview.chromium.org/1394213002/diff/1/pkg/compiler/lib/src/js_backend/runtime_types.dart#newcode18 pkg/compiler/lib/src/js_backend/runtime_types.dart:18: abstract class RuntimeTypes { On 2015/10/08 10:28:12, karlklose wrote: ...
5 years, 2 months ago (2015-10-08 13:14:19 UTC) #5
karlklose
5 years, 2 months ago (2015-10-09 07:42:01 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/1394213002/diff/1/pkg/compiler/lib/src/js_bac...
File pkg/compiler/lib/src/js_backend/runtime_types.dart (right):

https://codereview.chromium.org/1394213002/diff/1/pkg/compiler/lib/src/js_bac...
pkg/compiler/lib/src/js_backend/runtime_types.dart:52: Set<ClassElement>
getRequiredArgumentClasses(JavaScriptBackend backend);
On 2015/10/08 13:14:19, Johnni Winther wrote:
> On 2015/10/08 10:28:12, karlklose wrote:
> > Please add a comment to this function.
> 
> If only I knew what it did ;)

I think it computes the set of classes that are mentioned in substitution
functions - we need to emit JS classes for them even if they are not live.

Powered by Google App Engine
This is Rietveld 408576698