From 469b7bb5e9b4b05c267bdc78b2b1cfb24c4ada4f Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 27 Oct 2017 16:46:04 -0700 Subject: [PATCH] Add a FIXME comment for grow/current_memory. --- lib/runtime/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/runtime/src/lib.rs b/lib/runtime/src/lib.rs index 8bfb0e37bb..da86954e67 100644 --- a/lib/runtime/src/lib.rs +++ b/lib/runtime/src/lib.rs @@ -66,6 +66,7 @@ impl<'func> binemit::RelocSink for RelocSink<'func> { let name = from_utf8(name_bytes).unwrap(); // See `get_func_name`; names are encoded as `wasm_0x...`, so grab the // part after `0x...` and convert it back to an integer to get the index. + // FIXME: Handle grow_memory/current_memory. let func_index = FunctionIndex::from_str_radix(&name[7..], 16).unwrap(); self.func_relocs.push((reloc.0, func_index, offset)); }