Merge "Fix typo in INSTANCE_OF bytecode analysis"
diff --git a/tools/dexanalyze/dexanalyze_bytecode.cc b/tools/dexanalyze/dexanalyze_bytecode.cc
index 6bc8921..7e9f177 100644
--- a/tools/dexanalyze/dexanalyze_bytecode.cc
+++ b/tools/dexanalyze/dexanalyze_bytecode.cc
@@ -383,7 +383,7 @@
case Instruction::INSTANCE_OF: {
uint32_t type_idx = inst->VRegC_22c();
uint32_t in_reg = inst->VRegB_22c();
- uint32_t out_reg = inst->VRegB_22c();
+ uint32_t out_reg = inst->VRegA_22c();
if (count_types_) {
++current_type.types_.FindOrAdd(type_idx)->second;
} else {