about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm
diff options
context:
space:
mode:
authorTatsuyuki Ishi <ishitatsuyuki@gmail.com>2019-08-07 13:19:07 +0900
committerTatsuyuki Ishi <ishitatsuyuki@gmail.com>2019-08-10 22:16:35 +0900
commit2358e3eff604a770d5dabab9680d81148106fd68 (patch)
tree9d17df8a859b78bab19b8aaefe33c43b854eaafc /src/librustc_codegen_llvm
parentc326c2e0f1761d133f295a8fe6d2b5a0b7ac6f91 (diff)
downloadrust-2358e3eff604a770d5dabab9680d81148106fd68.tar.gz
rust-2358e3eff604a770d5dabab9680d81148106fd68.zip
Revert "Rollup merge of #62150 - alex:mem-uninit-refactor, r=RalfJung"
This reverts commit 1d45156866b54c3fc36edfdfcdd8149ad9cb5711, reversing
changes made to 0f92eb8a4a7d8715381f5b5d748d22315f6ff9c7.
Diffstat (limited to 'src/librustc_codegen_llvm')
-rw-r--r--src/librustc_codegen_llvm/intrinsic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/intrinsic.rs b/src/librustc_codegen_llvm/intrinsic.rs
index 199170182e4..a9b8962f45b 100644
--- a/src/librustc_codegen_llvm/intrinsic.rs
+++ b/src/librustc_codegen_llvm/intrinsic.rs
@@ -232,7 +232,7 @@ impl IntrinsicCallMethods<'tcx> for Builder<'a, 'll, 'tcx> {
                 return;
             }
             // Effectively no-ops
-            "forget" => {
+            "uninit" | "forget" => {
                 return;
             }
             "needs_drop" => {