[AArch64] Move initializations of AArch64NamedImmMapper out of void AArch64Operand...
authorVladimir Sukharev <vladimir.sukharev@arm.com>
Thu, 26 Mar 2015 17:29:53 +0000 (17:29 +0000)
committerVladimir Sukharev <vladimir.sukharev@arm.com>
Thu, 26 Mar 2015 17:29:53 +0000 (17:29 +0000)
commit05641295c38ad8e334a9f20121c08219fe25ac16
treee654f2d6e3843e4d21f5b71e802a9273dda94a1c
parenta9228aa73b03706444975e209626a2f455d98bbd
[AArch64] Move initializations of AArch64NamedImmMapper out of void AArch64Operand::print(...)

class AArch64NamedImmMapper is to become dependent of SubTargetFeatures, while class AArch64Operand don't have access to the latter.

So, AArch64NamedImmMapper constructor invocations are refactored away from methods of AArch64Operand.

Reviewers: jmolloy

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D8579

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233297 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp