AsmPrinter: Stop exposing underlying DIE children list, NFC
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DIEHash.cpp
index dcd9b3503b3cdf0f7e1e28fd0720b05d8e9346a1..1445254e6c284f0b4d0b5a2f8345ec1c61118ac2 100644 (file)
@@ -451,7 +451,7 @@ void DIEHash::computeHash(const DIE &Die) {
   addAttributes(Die);
 
   // Then hash each of the children of the DIE.
-  for (auto &C : Die.getChildren()) {
+  for (auto &C : Die.children()) {
     // 7.27 Step 7
     // If C is a nested type entry or a member function entry, ...
     if (isType(C->getTag()) || C->getTag() == dwarf::DW_TAG_subprogram) {