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

Issue 2076713002: Move type tagging logic out of setSignature (Closed)

Created:
4 years, 6 months ago by andrewkrieger
Modified:
4 years, 5 months ago
Reviewers:
Leaf, Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org
Base URL:
https://github.com/dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Move type tagging logic out of setSignature setSignature is only called for classes with constructors or static members, so previously _runtimeType was only set explicitly on such classes. Now _runtimeType is not set on any classes except for Object, and all other types inherit _runtimeType from Object. R=jmesserly@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/682bc485b084313592aaf5a52df84a66958796af

Patch Set 1 #

Patch Set 2 : Move type tagging logic out of setSignature #

Patch Set 3 : Move type tagging logic out of setSignature #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -5 lines) Patch
M lib/runtime/dart_sdk.js View 1 2 chunks +1 line, -1 line 0 comments Download
M lib/src/compiler/code_generator.dart View 1 1 chunk +6 lines, -0 lines 0 comments Download
M test/codegen/language/runtime_type_test.dart View 1 2 1 chunk +23 lines, -3 lines 2 comments Download
M tool/input_sdk/private/ddc_runtime/classes.dart View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
Jennifer Messerly
Oops just saw this. LGTM!
4 years, 6 months ago (2016-06-24 22:01:31 UTC) #3
andrewkrieger
I think I forgot to publish comments, so it never notified anyone. I'll rebase, review ...
4 years, 6 months ago (2016-06-24 22:55:41 UTC) #4
andrewkrieger
The third patch set fixes compile-time errors in test/codegen/language/runtime_type_test.dart. This slipped by me at first ...
4 years, 5 months ago (2016-06-27 17:56:36 UTC) #5
Jennifer Messerly
LGTM++. And great idea on the test.sh message fix! https://codereview.chromium.org/2076713002/diff/40001/test/codegen/language/runtime_type_test.dart File test/codegen/language/runtime_type_test.dart (right): https://codereview.chromium.org/2076713002/diff/40001/test/codegen/language/runtime_type_test.dart#newcode31 test/codegen/language/runtime_type_test.dart:31: ...
4 years, 5 months ago (2016-06-27 18:04:01 UTC) #6
andrewkrieger
https://codereview.chromium.org/2076713002/diff/40001/test/codegen/language/runtime_type_test.dart File test/codegen/language/runtime_type_test.dart (right): https://codereview.chromium.org/2076713002/diff/40001/test/codegen/language/runtime_type_test.dart#newcode31 test/codegen/language/runtime_type_test.dart:31: Expect.isFalse(classA.runtimeType == f.runtimeType); On 2016/06/27 18:04:01, John Messerly wrote: ...
4 years, 5 months ago (2016-06-27 22:24:54 UTC) #7
andrewkrieger
4 years, 5 months ago (2016-06-27 22:29:20 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
682bc485b084313592aaf5a52df84a66958796af (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698