Rename some GC classes so that their roll will hopefully be clearer.
[oota-llvm.git] / lib / Target / CppBackend / CPPBackend.cpp
index ce86452737d91b428b10b1daca9e20ecf4eed382..b359659bcdf714092d263fe0942a1a37a30a2b73 100644 (file)
@@ -1603,9 +1603,9 @@ namespace {
       Out << ");";
       nl(Out);
     }
       Out << ");";
       nl(Out);
     }
-    if (F->hasCollector()) {
+    if (F->hasGC()) {
       printCppName(F);
       printCppName(F);
-      Out << "->setCollector(\"" << F->getCollector() << "\");";
+      Out << "->setGC(\"" << F->getGC() << "\");";
       nl(Out);
     }
     if (is_inline) {
       nl(Out);
     }
     if (is_inline) {