summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenInstruction.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-04-22 20:18:10 +0000
committerDavid Greene <greened@obbligato.org>2009-04-22 20:18:10 +0000
commita9c6c5d39bd577a25801c39ca38b38ea4f68ce45 (patch)
treecea7342c35f45d16c4e61415e5c026eeb71ab453 /llvm/utils/TableGen/CodeGenInstruction.cpp
parentd3a5a9d7fa4922d5399de56c7ef67dbb4eb23b24 (diff)
downloadbcm5719-llvm-a9c6c5d39bd577a25801c39ca38b38ea4f68ce45.tar.gz
bcm5719-llvm-a9c6c5d39bd577a25801c39ca38b38ea4f68ce45.zip
Implement !nameconcat to concatenate strings and look up the resulting
name in the symbol table, returning an object. llvm-svn: 69822
Diffstat (limited to 'llvm/utils/TableGen/CodeGenInstruction.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenInstruction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.cpp b/llvm/utils/TableGen/CodeGenInstruction.cpp
index 185db01418b..b505871dee2 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.cpp
+++ b/llvm/utils/TableGen/CodeGenInstruction.cpp
@@ -127,7 +127,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr)
OperandList.clear();
return;
}
- DI = (DagInit*)(new BinOpInit(BinOpInit::CONCAT, DI, IDI))->Fold();
+ DI = (DagInit*)(new BinOpInit(BinOpInit::CONCAT, DI, IDI))->Fold(R, 0);
unsigned MIOperandNo = 0;
std::set<std::string> OperandNames;
OpenPOWER on IntegriCloud