|
|
Introduce a lazy-compile stub for functions.
The function's code pointer is either a lazy-compile stub
or the compiled code. The function is compiled on invocation.
There is no need to check for null when invoking a function. This means
one check less when invoking functions via a stub. For this I added a LazyCompile
stub.
Additional cleanup in Stackmap and PcDescriptors (remove unused code pointer,
and changed smi-lengh into a raw integer).
R=zra@google.com
Committed: https://code.google.com/p/dart/source/detail?r=34643
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+174 lines, -432 lines) |
Patch |
 |
M |
runtime/vm/code_descriptors.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/compiler.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_arm.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -17 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_ia32.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -18 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_mips.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -16 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_x64.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -19 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/gc_marker.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/megamorphic_cache_table.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
1
2
3
4
5
|
4 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+19 lines, -15 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object.h
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object_snapshot.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/runtime_entry_test.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/stub_code.h
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/stub_code_arm.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+30 lines, -76 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/stub_code_ia32.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+25 lines, -74 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/stub_code_mips.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+30 lines, -85 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/stub_code_x64.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+30 lines, -79 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|