From fb0ea2df9a52e5db18e1aa85da282938bbd92f2e Mon Sep 17 00:00:00 2001 From: Jean Christophe Beyler Date: Tue, 29 Jul 2014 13:20:42 -0700 Subject: ART: Extending FlagsOf Modified FlagsOf to handle extended flags. Change-Id: I9e47e0c42816136b2b53512c914200dd9dd11376 Signed-off-by: Jean Christophe Beyler --- compiler/dex/local_value_numbering.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/dex/local_value_numbering.cc') diff --git a/compiler/dex/local_value_numbering.cc b/compiler/dex/local_value_numbering.cc index 8b02269998..4279955990 100644 --- a/compiler/dex/local_value_numbering.cc +++ b/compiler/dex/local_value_numbering.cc @@ -464,7 +464,7 @@ void LocalValueNumbering::PruneNonAliasingRefsForCatch() { const MIR* mir = fall_through_bb->first_mir_insn; DCHECK(mir != nullptr); // Only INVOKEs can leak and clobber non-aliasing references if they throw. - if ((Instruction::FlagsOf(mir->dalvikInsn.opcode) & Instruction::kInvoke) != 0) { + if ((mir->dalvikInsn.FlagsOf() & Instruction::kInvoke) != 0) { for (uint16_t i = 0u; i != mir->ssa_rep->num_uses; ++i) { uint16_t value_name = lvn->GetOperandValue(mir->ssa_rep->uses[i]); non_aliasing_refs_.erase(value_name); -- cgit v1.2.3-59-g8ed1b