summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenInstruction.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2012-06-08 00:25:03 +0000
committerOwen Anderson <resistor@mac.com>2012-06-08 00:25:03 +0000
commitda6bd3e6035367761c90bf10a883c825dce991ab (patch)
tree4c932af6f067656c11c89db9e6ab554b88de0df9 /llvm/utils/TableGen/CodeGenInstruction.h
parentaadbfafcd11bed5a6b865e0eacb02977d127adc1 (diff)
downloadbcm5719-llvm-da6bd3e6035367761c90bf10a883c825dce991ab.tar.gz
bcm5719-llvm-da6bd3e6035367761c90bf10a883c825dce991ab.zip
Teach the AsmMatcherEmitter to allow InstAlias' where the suboperands of a complex operand are called out explicitly in the asm string.
llvm-svn: 158183
Diffstat (limited to 'llvm/utils/TableGen/CodeGenInstruction.h')
-rw-r--r--llvm/utils/TableGen/CodeGenInstruction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.h b/llvm/utils/TableGen/CodeGenInstruction.h
index 468277aa96c..3ba9f24daae 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.h
+++ b/llvm/utils/TableGen/CodeGenInstruction.h
@@ -280,7 +280,7 @@ namespace llvm {
struct ResultOperand {
private:
- StringRef Name;
+ std::string Name;
Record *R;
int64_t Imm;
@@ -291,7 +291,7 @@ namespace llvm {
K_Reg
} Kind;
- ResultOperand(StringRef N, Record *r) : Name(N), R(r), Kind(K_Record) {}
+ ResultOperand(std::string N, Record *r) : Name(N), R(r), Kind(K_Record) {}
ResultOperand(int64_t I) : Imm(I), Kind(K_Imm) {}
ResultOperand(Record *r) : R(r), Kind(K_Reg) {}
OpenPOWER on IntegriCloud