diff options
| author | 2011-11-30 16:24:48 -0800 | |
|---|---|---|
| committer | 2011-12-06 14:02:09 -0800 | |
| commit | 6d4d9fcb4f01e287ee29e81cd1c941ee5d11d379 (patch) | |
| tree | 4c715bef86a3c5a47f9cea43c4a092cf4766ed4b /src/compiler/codegen/arm/MethodCodegenDriver.cc | |
| parent | 86b0010c79ef95b5333cd540b7d3af34a9f1a643 (diff) | |
Reduce meta-data object sizes, introduce meta-data helper classes.
Change-Id: Id14ad218f1c74c659701352fdf1a45bf6444daa3
Diffstat (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc')
| -rw-r--r-- | src/compiler/codegen/arm/MethodCodegenDriver.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/codegen/arm/MethodCodegenDriver.cc b/src/compiler/codegen/arm/MethodCodegenDriver.cc index 15fd1ba841..2c3ee0d3a2 100644 --- a/src/compiler/codegen/arm/MethodCodegenDriver.cc +++ b/src/compiler/codegen/arm/MethodCodegenDriver.cc @@ -14,6 +14,8 @@ * limitations under the License. */ +#include "object_utils.h" + #define DISPLAY_MISSING_TARGETS (cUnit->enableDebug & \ (1 << kDebugDisplayMissingTargets)) @@ -192,7 +194,7 @@ Field* FindFieldWithResolvedStaticStorage(CompilationUnit* cUnit, // See if we can find a dex reference for the storage class. // we may not if the dex file never references the super class, // but usually it will. - std::string descriptor = field->GetDeclaringClass()->GetDescriptor()->ToModifiedUtf8(); + std::string descriptor(art::FieldHelper(field).GetDeclaringClassDescriptor()); const art::DexFile::StringId* string_id = cUnit->dex_file->FindStringId(descriptor); if (string_id == NULL) { |