|
Use interceptors for is-checks.
Use the $isXXX properties for type tests on raw (non-parameterized) types.
Use special builtin operations for the weird JSArray type hierarchy.
Still TODO:
If the only use of an interceptor is a single 'getInterceptor(value).$isXXX', and XXX is not a supertype of a native type, replace with 'value instanceof XXX'.
New version at: https://codereview.chromium.org/1385423002
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+321 lines, -33 lines) |
Patch |
 |
M |
pkg/compiler/lib/src/cps_ir/builtin_operator.dart
|
View
|
|
1 chunk |
+31 lines, -0 lines |
1 comment
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
|
View
|
|
1 chunk |
+5 lines, -1 line |
2 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
|
View
|
|
5 chunks |
+40 lines, -2 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart
|
View
|
|
2 chunks |
+12 lines, -0 lines |
1 comment
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/insert_refinements.dart
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/type_mask_system.dart
|
View
|
|
4 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/cps_ir/type_propagation.dart
|
View
|
|
5 chunks |
+77 lines, -10 lines |
4 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/js_backend/codegen/codegen.dart
|
View
|
|
4 chunks |
+23 lines, -13 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
View
|
|
6 chunks |
+20 lines, -1 line |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/js_backend/codegen/unsugar.dart
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/tree_ir/optimization/pull_into_initializers.dart
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
|
View
|
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart
|
View
|
|
5 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart
|
View
|
|
2 chunks |
+10 lines, -1 line |
1 comment
|
Download
|
 |
M |
sdk/lib/_internal/js_runtime/lib/js_rti.dart
|
View
|
|
1 chunk |
+10 lines, -4 lines |
0 comments
|
Download
|
Total messages: 11 (5 generated)
|