diff options
author | Evgeny Astigeevich <evgeny.astigeevich@linaro.org> | 2019-03-18 12:37:58 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2019-05-16 14:45:09 +0000 |
commit | 957c538a4d712066e6d7a309ee07f013c8d2e0cd (patch) | |
tree | 82cd8631e707df89fcaf4acaabf9a258f474b702 /test/ProfileTestMultiDex/main.jpp | |
parent | 552a13415573da19eafa46e1ac00fb0eb68f2b23 (diff) |
ART: Refactor SchedulingGraph for consistency and clarity
The CL moves functionality from SchedulingGraph to other classes,
deletes unused code and moves code used for testing to the tests source
file:
1. SchedulingGraph::AddDependency: move checks whether a dependency has
been added to SchedulingNode::Add*Predecessor as it is a SchedulingNode
responsibility to keep a unique set of predecessors.
2. Create SideEffectDependencyAnalysis class. Code doing side effect dependency
analysis is moved from SchedulingGraph into the class.
3. Remove SchedulingGraph::HasImmediate*Dependency methods as there are
SchedulingNode::Has*Dependency methods for such kind of checks.
4. SchedulingGraph::HasImmediate*Dependency(HInstruction,HInstruction) methods
are only used by tests. Their code is moved to a new class TestSchedulingGraph in
the tests source file.
Test: test.py --host --optimizing --jit --gtest
Test: test.py --target --optimizing --jit
Test: run-gtests.sh
Change-Id: Id16eb6e9f8b9706e616dff0ccc1d0353ed968367
Diffstat (limited to 'test/ProfileTestMultiDex/main.jpp')
0 files changed, 0 insertions, 0 deletions