diff options
| author | 2015-11-20 10:58:20 +0000 | |
|---|---|---|
| committer | 2015-11-20 10:58:20 +0000 | |
| commit | 4e30dc4e5016e2ce9980ed9433e3ee62861aba74 (patch) | |
| tree | 500a05bed0019397a59ce0fc981d6644e8ccbebb /compiler/optimizing/code_generator.cc | |
| parent | 69c7f2f7587349521a2094eaf2ed5f0048b563d5 (diff) | |
| parent | 6221a7024f97f0e91904b58280278883f4aae98b (diff) | |
Merge "Clean up the special input in HInvokeStaticOrDirect." am: 53ced034cd
am: 6221a7024f
* commit '6221a7024f97f0e91904b58280278883f4aae98b':
Clean up the special input in HInvokeStaticOrDirect.
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
| -rw-r--r-- | compiler/optimizing/code_generator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index 77d53fcd8f..0baa0e30dc 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -383,11 +383,11 @@ void CodeGenerator::CreateCommonInvokeLocationSummary( HInvokeStaticOrDirect* call = invoke->AsInvokeStaticOrDirect(); switch (call->GetMethodLoadKind()) { case HInvokeStaticOrDirect::MethodLoadKind::kRecursive: - locations->SetInAt(call->GetCurrentMethodInputIndex(), visitor->GetMethodLocation()); + locations->SetInAt(call->GetSpecialInputIndex(), visitor->GetMethodLocation()); break; case HInvokeStaticOrDirect::MethodLoadKind::kDexCacheViaMethod: locations->AddTemp(visitor->GetMethodLocation()); - locations->SetInAt(call->GetCurrentMethodInputIndex(), Location::RequiresRegister()); + locations->SetInAt(call->GetSpecialInputIndex(), Location::RequiresRegister()); break; default: locations->AddTemp(visitor->GetMethodLocation()); |