From 35d5b8a2c5d2fce03be59aa003c3bf3c1b481be0 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 3 Jul 2018 09:18:32 +0100 Subject: ART: Do not use std::::at(). These functions are specified as throwing std::out_of_range and we do not use exceptions. Test: m Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: I67c365ed6d779c101a18b9f386c751c48ca76e16 --- runtime/quick_exception_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/quick_exception_handler.cc') diff --git a/runtime/quick_exception_handler.cc b/runtime/quick_exception_handler.cc index 8b99b9f9c8..2dbde6f510 100644 --- a/runtime/quick_exception_handler.cc +++ b/runtime/quick_exception_handler.cc @@ -472,7 +472,7 @@ class DeoptimizeStackVisitor FINAL : public StackVisitor { } static VRegKind GetVRegKind(uint16_t reg, const std::vector& kinds) { - return static_cast(kinds.at(reg * 2)); + return static_cast(kinds[reg * 2]); } QuickExceptionHandler* const exception_handler_; -- cgit v1.2.3-59-g8ed1b