Fix the type of the heap bound variable.

This commit is contained in:
Dan Gohman
2018-11-29 19:28:35 -08:00
parent b3d831015c
commit ff25397c9e

View File

@@ -345,7 +345,7 @@ impl<'module_environment> cranelift_wasm::FuncEnvironment for FuncEnvironment<'m
offset: Offset32::new( offset: Offset32::new(
offset32 + offset_of!(vmcontext::VMMemory, current_length) as i32, offset32 + offset_of!(vmcontext::VMMemory, current_length) as i32,
), ),
global_type: self.pointer_type(), global_type: I32,
readonly: false, readonly: false,
}); });
( (