summaryrefslogtreecommitdiff
path: root/compiler/dex/inline_method_analyser.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-09-20 20:05:41 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-09-20 20:05:41 +0000
commitd5245a743df43830baf9fbc2233f6b5cebad8f32 (patch)
tree40a6269dfa24f31fe20caf5ae4df02e3812ae213 /compiler/dex/inline_method_analyser.cc
parent98399b8667f1fd210c66b340a6b5de7d3693ad1c (diff)
parentee07743e03042c2ca36e0c9513847a9e7d2509f1 (diff)
Merge "Revert "ART: Refactor typedef to using""
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]);