From 6ec0b3c6bfb2d3c9231d00181bdd69f9fc4f9f88 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 3 Jan 2019 11:43:02 -0800 Subject: [PATCH] Add a comment. --- lib/wasm/src/environ/spec.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/wasm/src/environ/spec.rs b/lib/wasm/src/environ/spec.rs index 92c7fa9e2b..93a82cca88 100644 --- a/lib/wasm/src/environ/spec.rs +++ b/lib/wasm/src/environ/spec.rs @@ -340,6 +340,9 @@ pub trait ModuleEnvironment<'data> { ); /// Provides the contents of a function body. + /// + /// Note there's no `reserve_function_bodies` function because the number of + /// functions is already provided by `reserve_func_types`. fn define_function_body(&mut self, body_bytes: &'data [u8]) -> WasmResult<()>; /// Provides the number of data initializers up front. By default this does nothing, but