Correctly clone FlaggedNodes.
[oota-llvm.git] / lib / CodeGen / MachineFunction.cpp
index 30896172883e431b5d45ed6305b243900a359d00..9bcf250aea8f4fa52170263bbed79e842e9fdaa7 100644 (file)
@@ -350,6 +350,10 @@ void MachineFrameInfo::print(const MachineFunction &MF, std::ostream &OS) const{
   for (unsigned i = 0, e = Objects.size(); i != e; ++i) {
     const StackObject &SO = Objects[i];
     OS << "  <fi #" << (int)(i-NumFixedObjects) << ">: ";
+    if (SO.Size == ~0ULL) {
+      OS << "dead\n";
+      continue;
+    }
     if (SO.Size == 0)
       OS << "variable sized";
     else