mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Fix sign error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117677 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
14a596258d
commit
db4eec3d2c
@ -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