X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FTarget%2FCppBackend%2FCPPBackend.cpp;h=b359659bcdf714092d263fe0942a1a37a30a2b73;hp=ce86452737d91b428b10b1daca9e20ecf4eed382;hb=5eca075b74d62c621b160aa216b4cd50829a2cc7;hpb=94fb5f2a7066c427a9d3dac10a33ccbd02aac467 diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index ce86452737d..b359659bcdf 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) {