|
Fix misoptimization of 'is' test
This also moves some common code from jit_optimizer.cc and aot_optimizer.cc to
a new common file, optimizer.cc. The code is almost unchanged from the
aot_optimizer.cc version, apart from the calls to PurgeNegativeTestCidsEntries.
A flag emulates the behaviour of the simpler jit_optimizer.cc version.
Benchmark tests are running to see which is better.
R=vegorov@google.com
BUG=https://github.com/dart-lang/sdk/issues/29695
Committed: https://github.com/dart-lang/sdk/commit/b7797ac45fe6d58d5dae6c4db3094afb1dfaa4bc
Total comments: 26
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+215 lines, -140 lines) |
Patch |
|
M |
runtime/vm/aot_optimizer.cc
|
View
|
1
2
|
3 chunks |
+4 lines, -69 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language.h
|
View
|
1
2
|
1 chunk |
+7 lines, -9 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language.cc
|
View
|
1
2
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_arm.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_arm64.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_dbc.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_ia32.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_mips.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_x64.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/jit_optimizer.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -56 lines |
0 comments
|
Download
|
|
A |
runtime/vm/optimizer.h
|
View
|
1
2
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/vm/optimizer.cc
|
View
|
1
2
|
1 chunk |
+96 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/vm_sources.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/standalone/regress_29695_test.dart
|
View
|
1
2
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (1 generated)
|