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

Commit

Permalink
Merge pull request #82 from nagisa/remove-zeroed-alloc-too
Browse files Browse the repository at this point in the history
Remove alloc_zeroed optimisation
  • Loading branch information
alexcrichton committed Jun 14, 2017
2 parents 32e803a + 935ff7f commit ee545e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Analysis/MemoryBuiltins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ static const std::pair<LibFunc::Func, AllocFnsTy> AllocationFnData[] = {
{LibFunc::strndup, {StrDupLike, 2, 1, -1}},

{LibFunc::rust_allocate, {MallocLike, 2, 0, -1}},
{LibFunc::rust_allocate_zeroed, {MallocLike, 2, 0, -1}},
{LibFunc::rust_reallocate, {ReallocLike, 4, 2, -1}},
// TODO: Handle "int posix_memalign(void **, size_t, size_t)"
};
Expand Down

0 comments on commit ee545e1

Please sign in to comment.