diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2014-10-24 19:58:26 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2014-10-25 14:12:21 -0400 |
| commit | a6426cb43dd24d0949755da57da85f3739fd9230 (patch) | |
| tree | 0fffafd9b8657171044833e4d4c636d4b6dd350c /src/rustllvm/RustWrapper.cpp | |
| parent | 2bc4d3ec23cc88155173729e60df54c8aa4949a6 (diff) | |
| download | rust-a6426cb43dd24d0949755da57da85f3739fd9230.tar.gz rust-a6426cb43dd24d0949755da57da85f3739fd9230.zip | |
return the new usable size from reallocate_inplace
The real size is also more useful than just a boolean, and the caller can easily determine if the operation failed from the real size. In most cases, the caller is only going to be growing the allocation so a branch can be avoided. [breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
