summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_switch_impl1.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2023-01-06 16:44:38 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2023-01-17 09:20:34 +0000
commit9e3761d6b98e090cff2e30e0f5e9714f434dd0f2 (patch)
tree9fba285742b0658a623dd42c14f9241cceb7ba18 /runtime/interpreter/interpreter_switch_impl1.cc
parent9ab12375de1b61ebfa924a6fbff7428e3b54d1f1 (diff)
Remove one template argument to the switch interpreter.
Dynamically check for SkipAccessChecks instead. arm64 apex goes from 49545216 bytes to 49324032, ~200KB savings. Test: test.py Change-Id: Iaa64f56485b15c0e3c0eaa31e469a2795035debe
Diffstat (limited to 'runtime/interpreter/interpreter_switch_impl1.cc')
-rw-r--r--runtime/interpreter/interpreter_switch_impl1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter_switch_impl1.cc b/runtime/interpreter/interpreter_switch_impl1.cc
index 3a86765c68..f8f9fcc81a 100644
--- a/runtime/interpreter/interpreter_switch_impl1.cc
+++ b/runtime/interpreter/interpreter_switch_impl1.cc
@@ -24,7 +24,7 @@ namespace interpreter {
// Explicit definition of ExecuteSwitchImplCpp.
template
-void ExecuteSwitchImplCpp<false, true>(SwitchImplContext* ctx);
+void ExecuteSwitchImplCpp<true>(SwitchImplContext* ctx);
} // namespace interpreter
} // namespace art