|
|
Improve smi shift operations and avoid repeated deoptimizations.
Smi left shifts do not contain a call now. Only after deoptimizing
at a smi operation we we generate mint code or a generic call to
avoid repeated deoptimization.
Added a test case for the code that was not covered by existing tests.
Committed: https://code.google.com/p/dart/source/detail?r=14709
Total comments: 17
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+144 lines, -104 lines) |
Patch |
 |
M |
runtime/vm/code_generator.h
|
View
|
1
|
2 chunks |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator.cc
|
View
|
1
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/deopt_instructions.h
|
View
|
1
2
|
4 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/deopt_instructions.cc
|
View
|
1
2
|
4 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_optimizer.cc
|
View
|
1
2
|
6 chunks |
+26 lines, -6 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_ia32.cc
|
View
|
1
2
|
4 chunks |
+34 lines, -37 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_x64.cc
|
View
|
1
2
|
4 chunks |
+35 lines, -37 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object.h
|
View
|
1
2
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests/language/arithmetic_test.dart
|
View
|
1
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|