Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 488237b

Browse files
committed
Merge pull request #82 from nagisa/remove-zeroed-alloc-too
Remove alloc_zeroed optimisation
2 parents 2e7555a + 2f29a09 commit 488237b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Analysis/MemoryBuiltins.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ static const std::pair<LibFunc, AllocFnsTy> AllocationFnData[] = {
7777
{LibFunc_strndup, {StrDupLike, 2, 1, -1}},
7878

7979
{LibFunc_rust_allocate, {MallocLike, 2, 0, -1}},
80-
{LibFunc_rust_allocate_zeroed, {MallocLike, 2, 0, -1}},
8180
{LibFunc_rust_reallocate, {ReallocLike, 4, 2, -1}}
8281
// TODO: Handle "int posix_memalign(void **, size_t, size_t)"
8382
};

0 commit comments

Comments
 (0)