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 17307d9d33
commit 89d31658e5

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