Iterate over phys regs instead
[oota-llvm.git] / lib / Target / WebAssembly / WebAssemblyMachineFunctionInfo.h
index e3c7f41189b9c162316669cf209012c556baac85..6a60280900a9b23a33ee99cd886c092190bb9135 100644 (file)
@@ -89,6 +89,7 @@ public:
     assert(WAReg < -1U);
     PhysRegs[PReg] = WAReg;
   }
+  const std::vector<unsigned> &getPhysRegs() const { return PhysRegs; }
 };
 
 } // end namespace llvm