Fix an inline asm pasto from 117667; was preventing
[oota-llvm.git] / lib / CodeGen / LiveRangeEdit.h
index d6ba256aee4f152716b3418a10c6131e5e3c8084..151f5b1b900cedeb39476172879580a2f48e68e3 100644 (file)
@@ -77,10 +77,8 @@ public:
   typedef SmallVectorImpl<LiveInterval*>::const_iterator iterator;
   iterator begin() const { return newRegs_.begin()+firstNew_; }
   iterator end() const { return newRegs_.end(); }
-
-  /// assignStackSlot - Ensure a stack slot is assigned to parent.
-  /// @return the assigned stack slot number.
-  int assignStackSlot(VirtRegMap&);
+  unsigned size() const { return newRegs_.size()-firstNew_; }
+  LiveInterval *get(unsigned idx) const { return newRegs_[idx+firstNew_]; }
 
   /// create - Create a new register with the same class and stack slot as
   /// parent.