|
VM: Store edge counters in one per-function array.
Reserve first element in the Function's ic_data_array to hold the edge
counter array.
Until now we had a one-element array per edge counter. This reduces memory
used by edge counters.
This CL allows to optimize code without having to have the unoptimized
code present.
Also, save space in Instruction by making place_id_ and lifetime_position_
a union. place_id_ is exclusively needed by Load/StoreOptimizer,
lifetime_position by the FlowGraphAllocator.
BUG=
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/4a653d9e17c60f00d4600afdf27b2b57283eeaed
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+130 lines, -420 lines) |
Patch |
|
M |
runtime/vm/block_scheduler.cc
|
View
|
1
2
|
3 chunks |
+17 lines, -56 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_patcher.h
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_patcher_arm.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_patcher_arm64.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_patcher_ia32.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -29 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_patcher_mips.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
|
M |
runtime/vm/code_patcher_x64.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
|
M |
runtime/vm/compiler.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -12 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler.h
|
View
|
1
2
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler.cc
|
View
|
1
2
3
|
3 chunks |
+19 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_arm.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -18 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_arm64.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_ia32.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -19 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_mips.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_x64.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -19 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_inliner.cc
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language.h
|
View
|
1
|
5 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_arm.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_arm64.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_ia32.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_mips.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/intermediate_language_x64.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/isolate.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/object.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/object.cc
|
View
|
1
2
3
|
2 chunks |
+36 lines, -34 lines |
0 comments
|
Download
|
Total messages: 9 (2 generated)
|