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

Commit 6772bcc

Browse files
alexcrichtonarielb1
authored andcommitted
Merge pull request #82 from nagisa/remove-zeroed-alloc-too
Remove alloc_zeroed optimisation
2 parents e10a093 + ec865b2 commit 6772bcc

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
@@ -76,7 +76,6 @@ static const std::pair<LibFunc::Func, AllocFnsTy> AllocationFnData[] = {
7676
{LibFunc::strndup, {StrDupLike, 2, 1, -1}},
7777

7878
{LibFunc::rust_allocate, {MallocLike, 2, 0, -1}},
79-
{LibFunc::rust_allocate_zeroed, {MallocLike, 2, 0, -1}},
8079
{LibFunc::rust_reallocate, {ReallocLike, 4, 2, -1}},
8180
// TODO: Handle "int posix_memalign(void **, size_t, size_t)"
8281
};

0 commit comments

Comments
 (0)