diff options
author | 2018-09-20 15:05:17 +0000 | |
---|---|---|
committer | 2018-09-20 15:05:17 +0000 | |
commit | ee07743e03042c2ca36e0c9513847a9e7d2509f1 (patch) | |
tree | 66867d7443a3798f6d882ef2715ddeb7baf3e771 /compiler/dex/inline_method_analyser.cc | |
parent | 9a20ff06f7ccee08a742c315ec6d351ab56ba1cd (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.cc | 2 |
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]); |