From 5b179842ecfac8de6a7f7f8af176c11870b73086 Mon Sep 17 00:00:00 2001 From: Gav Date: Sun, 28 Jan 2018 20:34:18 +0100 Subject: [PATCH] Remove old comment --- substrate/wasm-runtime/std/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/substrate/wasm-runtime/std/src/lib.rs b/substrate/wasm-runtime/std/src/lib.rs index 82e34f3297..f19de6836d 100644 --- a/substrate/wasm-runtime/std/src/lib.rs +++ b/substrate/wasm-runtime/std/src/lib.rs @@ -162,8 +162,6 @@ macro_rules! impl_stubs { }; let output = super::$name(&input[..]); - // things break if we try to take the address of an unallocated vec, so we - // shortcircuit the empty output case. output.as_ptr() as u64 + ((output.len() as u64) << 32) } )*