1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Fix 'not all control paths return a value' warning on MSVC builds

llvm-svn: 317790
This commit is contained in:
Simon Pilgrim 2017-11-09 14:56:17 +00:00
parent dca7f2c601
commit 01cbd4e4bf

View File

@ -59,6 +59,7 @@ uint8_t *SectionMemoryManager::allocateSection(
case AllocationPurpose::RWData:
return RWDataMem;
}
llvm_unreachable("Unknown SectionMemoryManager::AllocationPurpose");
}();
// Look in the list of free memory regions and use a block there if one