diff options
author | 2023-08-01 10:55:27 +0200 | |
---|---|---|
committer | 2023-08-08 13:35:17 +0000 | |
commit | 473c5a01699e82723c936bfd47ceac9abee70e09 (patch) | |
tree | 181f0a1e43d2e190596026e756fbc656cc512d7a /runtime/interpreter/interpreter.cc | |
parent | 876de9b20e0fb6d72fac8b46390c926f450adb3f (diff) |
Add `ArtMethod::GetShortyView()`.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: I2d1a8309c7417d6cdf545b0d036e1a29c721d25c
Diffstat (limited to 'runtime/interpreter/interpreter.cc')
-rw-r--r-- | runtime/interpreter/interpreter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc index 3ca531f89b..dcbf9ebf52 100644 --- a/runtime/interpreter/interpreter.cc +++ b/runtime/interpreter/interpreter.cc @@ -377,7 +377,7 @@ void EnterInterpreterFromInvoke(Thread* self, return; } else { DCHECK(method->IsNative()) << method->PrettyMethod(); - num_regs = num_ins = ArtMethod::NumArgRegisters(method->GetShorty()); + num_regs = num_ins = ArtMethod::NumArgRegisters(method->GetShortyView()); if (!method->IsStatic()) { num_regs++; num_ins++; |