diff options
| author | Bas van den Berg <BarabasGitHub@users.noreply.github.com> | 2018-07-14 22:31:11 +0200 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-07-14 16:31:11 -0400 |
| commit | 69e50ad2f54bc446b2258f464f9b09e78e132d45 (patch) | |
| tree | f9861f568089370da238564cc54924bb2643fcd4 /src/ir_print.cpp | |
| parent | 278829fc2cc23e55b09915ce07ce1ec2dbf7e68b (diff) | |
| download | zig-69e50ad2f54bc446b2258f464f9b09e78e132d45.tar.gz zig-69e50ad2f54bc446b2258f464f9b09e78e132d45.zip | |
Improve realloc on fixed buffer allocator (#1238)
* Add test to check re-use of memory
* Check if realloc has to reallocate the last allocated memory block.
If so extend that block instead of allocating a new one.
* Also check if the realloc actually preserves the data.
Diffstat (limited to 'src/ir_print.cpp')
0 files changed, 0 insertions, 0 deletions
