TableGen: Refactor AsmWriterEmitter to keep AsmWriterInsts.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 28 Oct 2013 18:07:17 +0000 (18:07 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 28 Oct 2013 18:07:17 +0000 (18:07 +0000)
commitbd2140018bcab8d49d6ffc032badfe4d91416ec0
tree9bd86ab2d06a5791843790c24188d92ac4c203b6
parent8cbb80d15925e62a6a33d899f568a81d6d74f08c
TableGen: Refactor AsmWriterEmitter to keep AsmWriterInsts.

These used to be referenced by the CGI->AWI map (in AsmWriterEmitter), but
stored in a vector local to EmitPrintInstruction. Move the vector to
AsmWriterEmitter too.

llvm-svn: 193525
llvm/utils/TableGen/AsmWriterEmitter.cpp