mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 04:39:44 +00:00
Make getNamedOperandIdx readonly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
76db85a36f
commit
b3cecb1ce6
@ -266,6 +266,7 @@ void InstrInfoEmitter::emitOperandNameMappings(raw_ostream &OS,
|
||||
OS << "#undef GET_INSTRINFO_NAMED_OPS\n";
|
||||
OS << "namespace llvm {";
|
||||
OS << "namespace " << Namespace << " {\n";
|
||||
OS << "LLVM_READONLY\n";
|
||||
OS << "int16_t getNamedOperandIdx(uint16_t Opcode, uint16_t NamedIdx) {\n";
|
||||
if (!Operands.empty()) {
|
||||
OS << " static const int16_t OperandMap [][" << Operands.size()
|
||||
|
Loading…
Reference in New Issue
Block a user