From fbc695f9b8e2084697e19c1355ab925f99f0d235 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Mon, 15 Sep 2014 15:33:30 +0000 Subject: Revert "Revert "Implement suspend checks in new compiler."" This reverts commit 7e3652c45c30c1f2f840e6088e24e2db716eaea7. Change-Id: Ib489440c34e41cba9e9e297054f9274f6e81a2d8 --- compiler/optimizing/live_ranges_test.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler/optimizing/live_ranges_test.cc') diff --git a/compiler/optimizing/live_ranges_test.cc b/compiler/optimizing/live_ranges_test.cc index 21e634de04..a81a30e457 100644 --- a/compiler/optimizing/live_ranges_test.cc +++ b/compiler/optimizing/live_ranges_test.cc @@ -32,6 +32,9 @@ static HGraph* BuildGraph(const uint16_t* data, ArenaAllocator* allocator) { HGraphBuilder builder(allocator); const DexFile::CodeItem* item = reinterpret_cast(data); HGraph* graph = builder.BuildGraph(*item); + // Suspend checks implementation may change in the future, and this test relies + // on how instructions are ordered. + RemoveSuspendChecks(graph); graph->BuildDominatorTree(); graph->TransformToSSA(); graph->FindNaturalLoops(); -- cgit v1.2.3-59-g8ed1b