summaryrefslogtreecommitdiffstats
path: root/compiler/dex/mir_analysis.cc
diff options
context:
space:
mode:
authorJean Christophe Beyler <jean.christophe.beyler@intel.com>2014-06-02 09:03:14 -0700
committerIan Rogers <irogers@google.com>2014-07-10 12:06:25 -0700
commit2ab40eb3c23559205ac7b9b039bd749458e8a761 (patch)
tree6a1534716a39aeb9874f4dc5c5d291f77d2cb887 /compiler/dex/mir_analysis.cc
parentfe12035ea434be9b24f578cf51e53c3bb34d945c (diff)
downloadart-2ab40eb3c23559205ac7b9b039bd749458e8a761.zip
art-2ab40eb3c23559205ac7b9b039bd749458e8a761.tar.gz
art-2ab40eb3c23559205ac7b9b039bd749458e8a761.tar.bz2
ART: Add Invokes to DecodedInstruction
Add a method Invokes to test for the kInvoke flag. Also moved IsPseudoMirOp to DecodedInstruction to use it for the various querry methods. Change-Id: I59a2056b7b802b8393fa2b0d977304d252b38c89 Signed-off-by: Jean Christophe Beyler <jean.christophe.beyler@intel.com>
Diffstat (limited to 'compiler/dex/mir_analysis.cc')
-rw-r--r--compiler/dex/mir_analysis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/mir_analysis.cc b/compiler/dex/mir_analysis.cc
index e372206..3de4483 100644
--- a/compiler/dex/mir_analysis.cc
+++ b/compiler/dex/mir_analysis.cc
@@ -902,7 +902,7 @@ void MIRGraph::AnalyzeBlock(BasicBlock* bb, MethodStats* stats) {
while (!done) {
tbb->visited = true;
for (MIR* mir = tbb->first_mir_insn; mir != NULL; mir = mir->next) {
- if (IsPseudoMirOp(mir->dalvikInsn.opcode)) {
+ if (MIR::DecodedInstruction::IsPseudoMirOp(mir->dalvikInsn.opcode)) {
// Skip any MIR pseudo-op.
continue;
}