|
Dart VM: Simplify code generation for equality operators.
By inserting the necessary checks for null inside the callee
at the AST level, the code generation of == operations can be
greatly simplified.
This is a performance-neutral change and a step for allowing
generic inlining of arbitrary == methods. So far we could only
inline them for a common set of types in the flow graph
optimizer.
R=srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=28084
Total comments: 2
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+128 lines, -696 lines) |
Patch |
|
M |
runtime/lib/function.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/debugger.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_arm.cc
|
View
|
1
2
3
4
|
3 chunks |
+0 lines, -62 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_ia32.cc
|
View
|
1
2
3
4
|
4 chunks |
+0 lines, -67 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_mips.cc
|
View
|
1
2
3
4
|
5 chunks |
+0 lines, -65 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_x64.cc
|
View
|
1
2
3
4
|
4 chunks |
+0 lines, -65 lines |
0 comments
|
Download
|
|
M |
runtime/vm/parser.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/parser.cc
|
View
|
1
2
3
4
|
3 chunks |
+44 lines, -49 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_arm.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -86 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_ia32.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -99 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_mips.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -104 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_x64.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -98 lines |
0 comments
|
Download
|
|
A |
tests/language/vm/function_equality_vm_test.dart
|
View
|
1
2
3
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/standalone/debugger/step_in_equals_test.dart
|
View
|
1
2
3
|
1 chunk |
+59 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|