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

Commit ee545e1

Browse files
authored
Merge pull request #82 from nagisa/remove-zeroed-alloc-too
Remove alloc_zeroed optimisation
2 parents 32e803a + 935ff7f commit ee545e1

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)