From 48dee04f4e4214b0fdd8acd0587ef6b08d3d2456 Mon Sep 17 00:00:00 2001 From: Calin Juravle Date: Wed, 22 Oct 2014 15:54:12 +0100 Subject: Minor fix in codegen tests. Change-Id: I9b843536353d4f820b969895d5f75ee9b679aff0 --- compiler/optimizing/codegen_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler') 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(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); } -- cgit v1.1