summaryrefslogtreecommitdiff
path: root/compiler/dex/inline_method_analyser.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-09-20 15:05:17 +0000
committer Andreas Gampe <agampe@google.com> 2018-09-20 15:05:17 +0000
commitee07743e03042c2ca36e0c9513847a9e7d2509f1 (patch)
tree66867d7443a3798f6d882ef2715ddeb7baf3e771 /compiler/dex/inline_method_analyser.cc
parent9a20ff06f7ccee08a742c315ec6d351ab56ba1cd (diff)
Revert "ART: Refactor typedef to using"
This reverts commit 9a20ff06f7ccee08a742c315ec6d351ab56ba1cd. Reason for revert: Attributes on the wrong side. Bug: 32619234 Change-Id: I8fd2abef619b22c02ccfbf5ae629339f1a60918b
Diffstat (limited to 'compiler/dex/inline_method_analyser.cc')
-rw-r--r--compiler/dex/inline_method_analyser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/inline_method_analyser.cc b/compiler/dex/inline_method_analyser.cc
index 183173b298..fe8b766d0f 100644
--- a/compiler/dex/inline_method_analyser.cc
+++ b/compiler/dex/inline_method_analyser.cc
@@ -41,7 +41,7 @@ namespace { // anonymous namespace
class Matcher {
public:
// Match function type.
- using MatchFn = bool(Matcher*);
+ typedef bool MatchFn(Matcher* matcher);
template <size_t size>
static bool Match(const CodeItemDataAccessor* code_item, MatchFn* const (&pattern)[size]);