8286346: 3-parameter version of AllocateHeap should not ignore AllocFailType
Reviewed-by: kbarrett, dholmes, stuefe
This commit is contained in:
parent
4f5d73f2d4
commit
64b05ccbed
@ -49,7 +49,7 @@ char* AllocateHeap(size_t size,
|
||||
char* AllocateHeap(size_t size,
|
||||
MEMFLAGS flags,
|
||||
AllocFailType alloc_failmode /* = AllocFailStrategy::EXIT_OOM*/) {
|
||||
return AllocateHeap(size, flags, CALLER_PC);
|
||||
return AllocateHeap(size, flags, CALLER_PC, alloc_failmode);
|
||||
}
|
||||
|
||||
char* ReallocateHeap(char *old,
|
||||
|
Loading…
x
Reference in New Issue
Block a user