summaryrefslogtreecommitdiffstats
path: root/compiler
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-10-22 15:54:12 +0100
committerCalin Juravle <calin@google.com>2014-10-22 15:54:12 +0100
commit48dee04f4e4214b0fdd8acd0587ef6b08d3d2456 (patch)
treeaa50172b03bce73ba8d3ef535696c7684d047445 /compiler
parentb5bfa96ff20e86316961327dec5c859239dab6a0 (diff)
downloadart-48dee04f4e4214b0fdd8acd0587ef6b08d3d2456.zip
art-48dee04f4e4214b0fdd8acd0587ef6b08d3d2456.tar.gz
art-48dee04f4e4214b0fdd8acd0587ef6b08d3d2456.tar.bz2
Minor fix in codegen tests.
Change-Id: I9b843536353d4f820b969895d5f75ee9b679aff0
Diffstat (limited to 'compiler')
-rw-r--r--compiler/optimizing/codegen_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc
index 8bb12de..af4cf73 100644
--- a/compiler/optimizing/codegen_test.cc
+++ b/compiler/optimizing/codegen_test.cc
@@ -135,8 +135,8 @@ static void TestCode(const uint16_t* data, bool has_result = false, int32_t expe
const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data);
HGraph* graph = builder.BuildGraph(*item);
// Remove suspend checks, they cannot be executed in this context.
- RemoveSuspendChecks(graph);
ASSERT_NE(graph, nullptr);
+ RemoveSuspendChecks(graph);
RunCodeBaseline(graph, has_result, expected);
}