diff options
author | Vladimir Marko <vmarko@google.com> | 2016-02-25 11:37:38 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2016-02-26 16:01:59 +0000 |
commit | a1de9188a05afdecca8cd04ecc4fefbac8b9880f (patch) | |
tree | a671c8aef814ccf194e5c3950a551f2711516c53 /compiler/optimizing/code_generator_mips.cc | |
parent | 950d063395c7cecbbe372fd607468018d661a35c (diff) |
Optimizing: Reduce memory usage of HInstructions.
Pack narrow fields and flags into a single 32-bit field.
Change-Id: Ib2f7abf987caee0339018d21f0d498f8db63542d
Diffstat (limited to 'compiler/optimizing/code_generator_mips.cc')
-rw-r--r-- | compiler/optimizing/code_generator_mips.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator_mips.cc b/compiler/optimizing/code_generator_mips.cc index 8d3d94b79d..f3c12efd8d 100644 --- a/compiler/optimizing/code_generator_mips.cc +++ b/compiler/optimizing/code_generator_mips.cc @@ -5245,7 +5245,7 @@ void LocationsBuilderMIPS::VisitClassTableGet(HClassTableGet* instruction) { void InstructionCodeGeneratorMIPS::VisitClassTableGet(HClassTableGet* instruction) { LocationSummary* locations = instruction->GetLocations(); uint32_t method_offset = 0; - if (instruction->GetTableKind() == HClassTableGet::kVTable) { + if (instruction->GetTableKind() == HClassTableGet::TableKind::kVTable) { method_offset = mirror::Class::EmbeddedVTableEntryOffset( instruction->GetIndex(), kMipsPointerSize).SizeValue(); } else { |