Add an OperandNamespace field to Target.td's Operand.
[oota-llvm.git] / utils / TableGen / CodeGenInstruction.cpp
index e83d5033b1826c0f07a505b8f8970f30e7244366..366e8ec7fac15a70a23d58b225df626ad17ec98b 100644 (file)
@@ -78,6 +78,7 @@ CGIOperandList::CGIOperandList(Record *R) : TheDef(R) {
     } else if (Rec->isSubClassOf("Operand")) {
       PrintMethod = Rec->getValueAsString("PrintMethod");
       OperandType = Rec->getValueAsString("OperandType");
+      OperandNamespace = Rec->getValueAsString("OperandNamespace");
       // If there is an explicit encoder method, use it.
       EncoderMethod = Rec->getValueAsString("EncoderMethod");
       MIOpInfo = Rec->getValueAsDag("MIOperandInfo");