From afb64232dbc30047e001c1a24abc9de485b78d04 Mon Sep 17 00:00:00 2001 From: Tim Diekmann Date: Thu, 18 Apr 2019 12:39:18 +0200 Subject: [PATCH] Fix for latest upstream update --- src/fn_call.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fn_call.rs b/src/fn_call.rs index 7b1ea73eb80..310b5764190 100644 --- a/src/fn_call.rs +++ b/src/fn_call.rs @@ -162,7 +162,7 @@ pub trait EvalContextExt<'a, 'mir, 'tcx: 'a + 'mir>: crate::MiriEvalContextExt<' align, MiriMemoryKind::C.into(), )?; - this.write_scalar(Scalar::Ptr(new_ptr.with_default_tag()), dest)?; + this.write_scalar(Scalar::Ptr(new_ptr), dest)?; } "__rust_alloc" => {