summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_stream.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-06-06 15:00:44 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-06-06 15:00:44 +0000
commitdc53f1616d656a757fb26039f387b7ee44ff2f1d (patch)
treee334f68df51c6078fd51f293a38146c6fcb6c106 /compiler/optimizing/stack_map_stream.cc
parentf98a25083c71c2f26d8487142aa02fabcd023080 (diff)
parentd97e0828958fd14a962e37af2865bc2e628547ce (diff)
Merge "Reduce code repetition in stack maps with macros."
Diffstat (limited to 'compiler/optimizing/stack_map_stream.cc')
-rw-r--r--compiler/optimizing/stack_map_stream.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/stack_map_stream.cc b/compiler/optimizing/stack_map_stream.cc
index d80e2fc0e3..3685ab2df4 100644
--- a/compiler/optimizing/stack_map_stream.cc
+++ b/compiler/optimizing/stack_map_stream.cc
@@ -129,7 +129,7 @@ void StackMapStream::AddInvoke(InvokeType invoke_type, uint32_t dex_method_index
CHECK_EQ(invoke_info.GetNativePcOffset(instruction_set_),
StackMap::UnpackNativePc(packed_native_pc, instruction_set_));
CHECK_EQ(invoke_info.GetInvokeType(), invoke_type);
- CHECK_EQ(method_infos_[invoke_info.GetMethodIndexIdx()], dex_method_index);
+ CHECK_EQ(method_infos_[invoke_info.GetMethodInfoIndex()], dex_method_index);
});
}
}
@@ -179,7 +179,7 @@ void StackMapStream::BeginInlineInfoEntry(ArtMethod* method,
if (encode_art_method) {
CHECK_EQ(inline_info.GetArtMethod(), method);
} else {
- CHECK_EQ(method_infos_[inline_info.GetMethodIndexIdx()],
+ CHECK_EQ(method_infos_[inline_info.GetMethodInfoIndex()],
method->GetDexMethodIndexUnchecked());
}
CHECK_EQ(inline_info.HasDexRegisterMap(), (num_dex_registers != 0));