diff options
| author | 2015-12-16 08:45:07 +0000 | |
|---|---|---|
| committer | 2015-12-16 08:45:07 +0000 | |
| commit | 13cd5cad6e51f52d7e2ef38c9415d6d03fd994e3 (patch) | |
| tree | 6f87852b9d14e479ea2c7ef92de35c3118a0fd1e /compiler/optimizing/optimizing_unit_test.h | |
| parent | 6e4753f0bc55655e2e178cb16d6a232ebd055543 (diff) | |
| parent | b059c8a044ed3ede1a0eea4b1e92008ced90c013 (diff) | |
Merge "Revert "ART: Refactor SsaBuilder for more precise typing info""
am: b059c8a044
* commit 'b059c8a044ed3ede1a0eea4b1e92008ced90c013':
Revert "ART: Refactor SsaBuilder for more precise typing info"
Diffstat (limited to 'compiler/optimizing/optimizing_unit_test.h')
| -rw-r--r-- | compiler/optimizing/optimizing_unit_test.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/compiler/optimizing/optimizing_unit_test.h b/compiler/optimizing/optimizing_unit_test.h index af3a005304..350f0b14ab 100644 --- a/compiler/optimizing/optimizing_unit_test.h +++ b/compiler/optimizing/optimizing_unit_test.h @@ -19,13 +19,9 @@ #include "nodes.h" #include "builder.h" -#include "common_compiler_test.h" #include "compiler/dex/pass_manager.h" #include "dex_file.h" #include "dex_instruction.h" -#include "handle_scope-inl.h" -#include "scoped_thread_state_change.h" -#include "ssa_builder.h" #include "ssa_liveness_analysis.h" #include "gtest/gtest.h" @@ -46,6 +42,7 @@ namespace art { #define FIVE_REGISTERS_CODE_ITEM(...) N_REGISTERS_CODE_ITEM(5, __VA_ARGS__) #define SIX_REGISTERS_CODE_ITEM(...) N_REGISTERS_CODE_ITEM(6, __VA_ARGS__) + LiveInterval* BuildInterval(const size_t ranges[][2], size_t number_of_ranges, ArenaAllocator* allocator, @@ -114,12 +111,6 @@ inline bool IsRemoved(HInstruction* instruction) { return instruction->GetBlock() == nullptr; } -inline void TransformToSsa(HGraph* graph) { - ScopedObjectAccess soa(Thread::Current()); - StackHandleScopeCollection handles(soa.Self()); - EXPECT_EQ(graph->TryBuildingSsa(&handles), kBuildSsaSuccess); -} - } // namespace art #endif // ART_COMPILER_OPTIMIZING_OPTIMIZING_UNIT_TEST_H_ |