summaryrefslogtreecommitdiff
path: root/compiler/dex/vreg_analysis.cc
diff options
context:
space:
mode:
author Jean Christophe Beyler <jean.christophe.beyler@intel.com> 2014-07-29 13:20:42 -0700
committer Jean Christophe Beyler <jean.christophe.beyler@intel.com> 2014-08-25 13:49:12 -0700
commitfb0ea2df9a52e5db18e1aa85da282938bbd92f2e (patch)
tree2c73e8bf5e2811a81e0ede8c007e6b896eb724a5 /compiler/dex/vreg_analysis.cc
parent02cdc91cae56a91e7833eae154fe9a7694103ae5 (diff)
ART: Extending FlagsOf
Modified FlagsOf to handle extended flags. Change-Id: I9e47e0c42816136b2b53512c914200dd9dd11376 Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
Diffstat (limited to 'compiler/dex/vreg_analysis.cc')
-rw-r--r--compiler/dex/vreg_analysis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/vreg_analysis.cc b/compiler/dex/vreg_analysis.cc
index 4a3e071d1e..69535a43d0 100644
--- a/compiler/dex/vreg_analysis.cc
+++ b/compiler/dex/vreg_analysis.cc
@@ -252,7 +252,7 @@ bool MIRGraph::InferTypeAndSize(BasicBlock* bb, MIR* mir, bool changed) {
// Special-case handling for format 35c/3rc invokes
Instruction::Code opcode = mir->dalvikInsn.opcode;
int flags = MIR::DecodedInstruction::IsPseudoMirOp(opcode) ?
- 0 : Instruction::FlagsOf(mir->dalvikInsn.opcode);
+ 0 : mir->dalvikInsn.FlagsOf();
if ((flags & Instruction::kInvoke) &&
(attrs & (DF_FORMAT_35C | DF_FORMAT_3RC))) {
DCHECK_EQ(next, 0);