summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/interpreter/interpreter.cc')
-rw-r--r--runtime/interpreter/interpreter.cc2
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++;