|
|
Don't require eliminating certain type checks in unoptimized compilation.
The compiler relied on the graph builder to eliminate certain type
checks so that running without type check elimination required a
hack in the code generator to deal with the transition sentinel.
This CL makes type checks explicit in the AST and avoid inserting
them where they're not necessary (e.g. assigning null, sentinal values).
R=regis@google.com, srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=36734
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+23 lines, -52 lines) |
Patch |
 |
M |
runtime/vm/ast.cc
|
View
|
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_builder.cc
|
View
|
1
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_arm.cc
|
View
|
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_arm64.cc
|
View
|
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_ia32.cc
|
View
|
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_mips.cc
|
View
|
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_x64.cc
|
View
|
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_optimizer.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/parser.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|