|
|
VM: Improve performance of method recognizer and unify the it with the intrinsifier.
The method recognizer is now in a separate file and the intrinsifier uses the
same infrastructure. Each function is marked at initialization time, so that
recognizing a method is a fast operation (reading a field from the Function object)
I cleaned the symbol table from unused symbols since I had to regenerate the
binary snapshot in the repository anyway for this change.
I had to rename the methods that are duplicated between the recognized method list
and the intrinsics list to match the naming convention used by the method recognizer.
I left the other intrinsics unchanged for now. They will be renamed in a future CL.
R=srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=39444
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+707 lines, -849 lines) |
Patch |
 |
M |
runtime/vm/flow_graph_inliner.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.h
|
View
|
1
2
|
2 chunks |
+1 line, -255 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.cc
|
View
|
1
2
|
3 chunks |
+1 line, -169 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier.h
|
View
|
1
2
3
|
2 chunks |
+4 lines, -141 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier.cc
|
View
|
1
2
3
|
3 chunks |
+30 lines, -100 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_arm.cc
|
View
|
1
2
|
20 chunks |
+27 lines, -27 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_arm64.cc
|
View
|
1
2
|
20 chunks |
+27 lines, -27 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_ia32.cc
|
View
|
1
2
|
21 chunks |
+27 lines, -27 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_mips.cc
|
View
|
1
2
|
21 chunks |
+27 lines, -27 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_x64.cc
|
View
|
|
19 chunks |
+27 lines, -27 lines |
0 comments
|
Download
|
 |
A |
runtime/vm/method_recognizer.h
|
View
|
|
1 chunk |
+387 lines, -0 lines |
0 comments
|
Download
|
 |
A |
runtime/vm/method_recognizer.cc
|
View
|
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
|
6 chunks |
+54 lines, -18 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
|
5 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/symbols.h
|
View
|
|
7 chunks |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/vm_sources.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tests/standalone/issue14236_test.dart
|
View
|
|
Binary file |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|