Create a static version of Instruction::getOpcodeName(opCode) that
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 14 Jul 2002 23:09:40 +0000 (23:09 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 14 Jul 2002 23:09:40 +0000 (23:09 +0000)
commitc105645c16f77ee20b853baf717073ad393dd4aa
tree69a43edbdd25d8b744a93d16026f1b609c929622
parenta24a0bb0e20886ad976ec650c92ec35d09a91eb9
Create a static version of Instruction::getOpcodeName(opCode) that
can be invoked with only an opcode (i.e., without an instruction).
Move all opCode->opCodeName translations there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2900 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Instruction.cpp
lib/VMCore/iOperators.cpp