SPV: Make previous commit compile with MSVC 2012.
This commit is contained in:
@@ -1738,7 +1738,7 @@ void Builder::endSwitch(std::vector<Block*>& /*segmentBlock*/)
|
||||
// Comments in header
|
||||
void Builder::makeNewLoop(bool loopTestFirst)
|
||||
{
|
||||
loops.push({ });
|
||||
loops.push(Loop());
|
||||
Loop& loop = loops.top();
|
||||
|
||||
loop.function = &getBuildPoint()->getParent();
|
||||
|
||||
Reference in New Issue
Block a user