Convert RegClass::IsColorUsedArr from a dynamically allocated array to
[oota-llvm.git] / include / llvm / Target / TargetRegInfo.h
index 1067a9a18df2e2fcf4a43dd380788d680cc1ec5f..99a89feb2e8126c8679eea4b672fe6cc4d117eb2 100644 (file)
@@ -51,7 +51,8 @@ public:
 
   // This method should find a color which is not used by neighbors
   // (i.e., a false position in IsColorUsedArr) and 
-  virtual void colorIGNode(IGNode *Node, bool IsColorUsedArr[]) const = 0;
+  virtual void colorIGNode(IGNode *Node,
+                           std::vector<bool> &IsColorUsedArr) const = 0;
   virtual bool isRegVolatile(int Reg) const = 0;
 
   MachineRegClassInfo(unsigned ID, unsigned NVR, unsigned NAR)