mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Fix sign error.
llvm-svn: 117677
This commit is contained in:
parent
840931e8ed
commit
469a9ef414
@ -78,7 +78,7 @@ public:
|
||||
iterator begin() const { return newRegs_.begin()+firstNew_; }
|
||||
iterator end() const { return newRegs_.end(); }
|
||||
unsigned size() const { return newRegs_.size()-firstNew_; }
|
||||
LiveInterval *get(unsigned idx) const { return newRegs_[idx-firstNew_]; }
|
||||
LiveInterval *get(unsigned idx) const { return newRegs_[idx+firstNew_]; }
|
||||
|
||||
/// assignStackSlot - Ensure a stack slot is assigned to parent.
|
||||
/// @return the assigned stack slot number.
|
||||
|
Loading…
Reference in New Issue
Block a user