|
Simplify runtime type support.
1. Store the class name on the JS constructor and only attach runtime type information to objects that need information about their type arguments.
2. Generate the runtime type string at runtime.
3. Change the structure of runtime type information to an array and access type arguments by index.
Committed: https://code.google.com/p/dart/source/detail?r=15255
Total comments: 25
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+99 lines, -168 lines) |
Patch |
|
M |
sdk/lib/_internal/compiler/implementation/js/nodes.dart
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/js_backend/js_backend.dart
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
|
View
|
1
2
3
4
5
6
|
2 chunks |
+28 lines, -91 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+19 lines, -0 lines |
2 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/lib/js_array.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
2 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
|
View
|
1
2
3
4
5
6
|
2 chunks |
+19 lines, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/lib/js_number.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/lib/js_string.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
View
|
1
2
3
4
5
6
|
7 chunks |
+13 lines, -54 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
sdk/lib/_internal/compiler/implementation/ssa/ssa.dart
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
tests/co19/co19-dart2js.status
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/language/first_class_types_literals_test.dart
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
tests/language/language_dart2js.status
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|