summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-02-15 03:17:06 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-02-15 03:17:06 +0000
commit5352f07f2c078b614ea059ffc5c8d825072e544c (patch)
treecda4af6ff49a2685f6f08f2b8ee3e77df552e40b /llvm/utils/TableGen
parent115158fa4f209a3d14b7a7e4017b2d22f48549d6 (diff)
downloadbcm5719-llvm-5352f07f2c078b614ea059ffc5c8d825072e544c.tar.gz
bcm5719-llvm-5352f07f2c078b614ea059ffc5c8d825072e544c.zip
Revert r96130 ("Forward parameter options as '-option=param'").
This behaviour must be configurable. llvm-svn: 96210
Diffstat (limited to 'llvm/utils/TableGen')
-rw-r--r--llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
index 5558904d291..2abc94bbcda 100644
--- a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -1792,8 +1792,8 @@ void EmitForwardOptionPropertyHandlingCode (const OptionDescription& D,
O.indent(IndentLevel) << "vec.push_back(\"" << Name << "\");\n";
break;
case OptionType::Parameter:
- O.indent(IndentLevel) << "vec.push_back(\"" << Name << "=\" + "
- << D.GenVariableName() << ");\n";
+ O.indent(IndentLevel) << "vec.push_back(\"" << Name << "\");\n";
+ O.indent(IndentLevel) << "vec.push_back(" << D.GenVariableName() << ");\n";
break;
case OptionType::Prefix:
O.indent(IndentLevel) << "vec.push_back(\"" << Name << "\" + "
OpenPOWER on IntegriCloud