summaryrefslogtreecommitdiff
path: root/src/compiler/Frontend.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2012-09-28 11:41:42 -0700
committer Ian Rogers <irogers@google.com> 2012-09-28 11:41:42 -0700
commita75a01313e801c53145df00bad1842d9f643c0a1 (patch)
tree4c592c89e188cfb5b4efeb656f4d152cddc14d2c /src/compiler/Frontend.cc
parentacc46d6f64969a7ae32c53a92fcdad875ec6f50f (diff)
Make dex instruction size a lookup.
Add ostream operators for dex instruction enums. Move simple methods to header file. Change-Id: I9644bfb975896a491ee73ef9a8ef13c062c5fcbd
Diffstat (limited to 'src/compiler/Frontend.cc')
-rw-r--r--src/compiler/Frontend.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/Frontend.cc b/src/compiler/Frontend.cc
index 1a0942795a..31d8aa50a9 100644
--- a/src/compiler/Frontend.cc
+++ b/src/compiler/Frontend.cc
@@ -986,7 +986,7 @@ CompiledMethod* compileMethod(Compiler& compiler,
oatAppendMIR(curBlock, insn);
codePtr += width;
- int flags = Instruction::Flags(insn->dalvikInsn.opcode);
+ int flags = Instruction::FlagsOf(insn->dalvikInsn.opcode);
int dfFlags = oatDataFlowAttributes[insn->dalvikInsn.opcode];