about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-20 12:40:15 +0200
committerGitHub <noreply@github.com>2019-10-20 12:40:15 +0200
commitf01ffbc7f14c5e80c130d679e99c3507591e4bab (patch)
treeb99009d35d372e0a4b6007e4be1a5dec035772f9 /src/rustllvm/RustWrapper.cpp
parent7bf377f289a4f79829309ed69dccfe33f20b089c (diff)
parentd0862ec9b0c4107b773dcb0197f1877468ce14ad (diff)
downloadrust-f01ffbc7f14c5e80c130d679e99c3507591e4bab.tar.gz
rust-f01ffbc7f14c5e80c130d679e99c3507591e4bab.zip
Rollup merge of #64996 - lzutao:inline-ptr-null, r=oli-obk
Inline `ptr::null(_mut)` even in debug builds

I think we should treat `ptr::null(_mut)` as a constant. As It may help reduce code size
in debug build.
See godbolt link: https://godbolt.org/z/b9YMtD
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions