mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 11:55:12 +00:00
Be gentle to MSVC. C++ is hard, after all.
llvm-svn: 99855
This commit is contained in:
parent
f2c7999cd8
commit
faf5a4ff26
@ -203,14 +203,15 @@ void SSEDomainFixPass::Kill(int rx) {
|
||||
/// Force register rx into domain.
|
||||
void SSEDomainFixPass::Force(int rx, unsigned domain) {
|
||||
hasLiveRegs = true;
|
||||
if (DomainValue *dv = LiveRegs[rx]) {
|
||||
DomainValue *dv;
|
||||
if ((dv = LiveRegs[rx])) {
|
||||
if (dv->collapsed())
|
||||
dv->add(domain);
|
||||
else
|
||||
Collapse(dv, domain);
|
||||
} else {
|
||||
// Set up basic collapsed DomainValue
|
||||
DomainValue *dv = Pool.Alloc();
|
||||
dv = Pool.Alloc();
|
||||
dv->add(domain);
|
||||
SetLiveReg(rx, dv);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user