зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1119072, Part 10: Work around internal compiler error in VS2015 (js), r=waldo
--HG-- extra : rebase_source : 1892631f8130c7eb09876b766fc13ad649e8616e
This commit is contained in:
Родитель
7f449f0490
Коммит
dc162e25f3
|
@ -110,7 +110,9 @@ LBlock::init(TempAllocator &alloc)
|
|||
if (!inputs)
|
||||
return false;
|
||||
|
||||
LPhi *lphi = new (&phis_[phiIndex++]) LPhi(phi, inputs);
|
||||
// MSVC 2015 cannot handle "new (&phis_[phiIndex++])"
|
||||
void *addr = &phis_[phiIndex++];
|
||||
LPhi *lphi = new (addr) LPhi(phi, inputs);
|
||||
lphi->setBlock(this);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче