summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator_mips.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2018-07-24 11:35:20 +0100
committerVladimir Marko <vmarko@google.com>2018-08-03 11:43:30 +0000
commit9d479254d0dc4043a15ab26205f40439eca15493 (patch)
treeaf8a9c9c6f2c28e723a971c9d39c9d1cebd1f814 /compiler/optimizing/code_generator_mips.cc
parentca20fb6cc4dda392e63bdc8ec9de54d89793373e (diff)
Rename type resolution entrypoints.
Rename the InitializeType and InitializeTypeAndVerifyAccess entrypoints to Resolve* to better match their semantics. Keep the InitializeStaticStorage name for now as the most appropriate name InitializeType would clash with the old name of the ResolveType entrypoint. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: Ide55b58c490d085ab37d8536f90699f7ed571d59
Diffstat (limited to 'compiler/optimizing/code_generator_mips.cc')
-rw-r--r--compiler/optimizing/code_generator_mips.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/code_generator_mips.cc b/compiler/optimizing/code_generator_mips.cc
index 8b7479a861..0ed5756b53 100644
--- a/compiler/optimizing/code_generator_mips.cc
+++ b/compiler/optimizing/code_generator_mips.cc
@@ -252,8 +252,8 @@ class LoadClassSlowPathMIPS : public SlowPathCodeMIPS {
DCHECK(IsSameDexFile(cls_->GetDexFile(), mips_codegen->GetGraph()->GetDexFile()));
dex::TypeIndex type_index = cls_->GetTypeIndex();
__ LoadConst32(calling_convention.GetRegisterAt(0), type_index.index_);
- mips_codegen->InvokeRuntime(kQuickInitializeType, instruction_, dex_pc, this);
- CheckEntrypointTypes<kQuickInitializeType, void*, uint32_t>();
+ mips_codegen->InvokeRuntime(kQuickResolveType, instruction_, dex_pc, this);
+ CheckEntrypointTypes<kQuickResolveType, void*, uint32_t>();
// If we also must_do_clinit, the resolved type is now in the correct register.
} else {
DCHECK(must_do_clinit);