forked from OSchip/llvm-project
Fix 'not all control paths return a value' warning on MSVC builds
llvm-svn: 317790
This commit is contained in:
parent
17307d9d33
commit
89d31658e5
|
@ -59,6 +59,7 @@ uint8_t *SectionMemoryManager::allocateSection(
|
||||||
case AllocationPurpose::RWData:
|
case AllocationPurpose::RWData:
|
||||||
return RWDataMem;
|
return RWDataMem;
|
||||||
}
|
}
|
||||||
|
llvm_unreachable("Unknown SectionMemoryManager::AllocationPurpose");
|
||||||
}();
|
}();
|
||||||
|
|
||||||
// Look in the list of free memory regions and use a block there if one
|
// Look in the list of free memory regions and use a block there if one
|
||||||
|
|
Loading…
Reference in New Issue