From a78ef44266c38cc4895554e973156a7c7896dd87 Mon Sep 17 00:00:00 2001 From: Chao-ying Fu Date: Thu, 12 Feb 2015 14:56:18 -0800 Subject: ART: Fix InsertCaseLabel to return boundary_lir always This patch doesn't return new_label when cu_->verbose, because we will not assign offsets to new_label at this stage. Change-Id: Ie7f625848b0cf7cabfbba694b5c20b0784bc8501 Signed-off-by: Chao-ying Fu --- compiler/dex/quick/codegen_util.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'compiler/dex/quick/codegen_util.cc') diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index 88a4605a6b..055c39f70c 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -865,7 +865,6 @@ LIR* Mir2Lir::InsertCaseLabel(uint32_t bbid, int keyVal) { DCHECK(!new_label->flags.use_def_invalid); new_label->u.m.def_mask = &kEncodeAll; InsertLIRAfter(boundary_lir, new_label); - res = new_label; } return res; } -- cgit v1.2.3-59-g8ed1b