diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-19 03:20:00 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-19 03:20:00 +0000 |
commit | da81bf4d3e4080fb8e46942f8f24a8a8996b5c58 (patch) | |
tree | 0930fdd428a5bf282750a1532317f4751b1ba535 /llvm/lib/Target/MRegisterInfo.cpp | |
parent | 577f4bd78c68a77075d2e0645f09f3f36a2bbcbc (diff) | |
download | bcm5719-llvm-da81bf4d3e4080fb8e46942f8f24a8a8996b5c58.tar.gz bcm5719-llvm-da81bf4d3e4080fb8e46942f8f24a8a8996b5c58.zip |
For PR1207:
Revert patches that caused the problem. Evan, please investigate and reapply
when you've discovered the problem.
llvm-svn: 34399
Diffstat (limited to 'llvm/lib/Target/MRegisterInfo.cpp')
-rw-r--r-- | llvm/lib/Target/MRegisterInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/MRegisterInfo.cpp b/llvm/lib/Target/MRegisterInfo.cpp index 08039208fe8..7caaae9d4fa 100644 --- a/llvm/lib/Target/MRegisterInfo.cpp +++ b/llvm/lib/Target/MRegisterInfo.cpp @@ -41,7 +41,7 @@ BitVector MRegisterInfo::getAllocatableSet(MachineFunction &MF) const { const TargetRegisterClass *RC = *I; for (TargetRegisterClass::iterator I = RC->allocation_order_begin(MF), E = RC->allocation_order_end(MF); I != E; ++I) - Allocatable.set(*I); + Allocatable[*I] = true; } return Allocatable; } |