Fix broken test that was creating a stack overflow

This commit is contained in:
Lachlan Sneff
2019-01-12 09:51:25 -05:00
parent e236e2f9b6
commit a3b3523a78
4 changed files with 2 additions and 6 deletions

View File

@ -529,7 +529,7 @@ impl<'environment> FuncEnvironmentTrait for FuncEnvironment<'environment> {
// Get the pointer type based on machine's pointer size.
let ptr_type = self.pointer_type();
// The `callee` value is an index into a table of function pointers.
// The `callee` value is an index into a table of Anyfunc structures.
let entry_addr = pos.ins().table_addr(ptr_type, table, callee, 0);
let mflags = ir::MemFlags::trusted();