diff options
Diffstat (limited to 'lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index ce86452737..b359659bcd 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -1603,9 +1603,9 @@ namespace { Out << ");"; nl(Out); } - if (F->hasCollector()) { + if (F->hasGC()) { printCppName(F); - Out << "->setCollector(\"" << F->getCollector() << "\");"; + Out << "->setGC(\"" << F->getGC() << "\");"; nl(Out); } if (is_inline) { |