diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-08-18 21:14:54 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-08-18 21:14:54 +0000 |
commit | 36d747745e6dbfc506d90cef1922247f495682fc (patch) | |
tree | 380c757cf7b48f0c3b5d1ffb20cc40a66400783a /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 2349fb4d4521e6fc98a574d1a3fb6c3943714e1f (diff) | |
download | bcm5719-llvm-36d747745e6dbfc506d90cef1922247f495682fc.tar.gz bcm5719-llvm-36d747745e6dbfc506d90cef1922247f495682fc.zip |
Simplify RegScavenger::FindUnusedReg.
- Drop the Candidates argument and fix all callers. Now that RegScavenger
tracks available registers accurately, there is no need to restict the
search.
- Make sure that no aliases of the found register are in use. This was a potential bug.
llvm-svn: 79369
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions