diff options
| author | 2015-02-12 14:56:18 -0800 | |
|---|---|---|
| committer | 2015-02-12 14:56:18 -0800 | |
| commit | a78ef44266c38cc4895554e973156a7c7896dd87 (patch) | |
| tree | 5f7648895baa548d8d633be8f9ff17b28e9ea08d /compiler/dex/quick/codegen_util.cc | |
| parent | 5409701651407747e172d753f3fddeb6eb423927 (diff) | |
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 <chao-ying.fu@intel.com>
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
| -rw-r--r-- | compiler/dex/quick/codegen_util.cc | 1 | 
1 files changed, 0 insertions, 1 deletions
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;  }  |