Fixed use of undefined 'types' array in BinaryenAddGlobal tracing (#1279)
Fixed use of undefined 'types' array in BinaryenAddGlobal tracing (#1279)

* Fixed use of undefined 'types' array in BinaryenAddGlobal tracing

* also fix use of 'expressions'

WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen