D66168 passes size 0 structs indirectly, while the wasm backend expects it to
be passed directly. This causes subsequent variadic arguments to be read
incorrectly.
This diff changes it so that size 0 structs are passed directly.
Differential D66255
[WebAssembly] Correctly handle va_arg of zero-sized structures quantum on Aug 14 2019, 2:04 PM. Authored by
Details D66168 passes size 0 structs indirectly, while the wasm backend expects it to This diff changes it so that size 0 structs are passed directly.
Diff Detail
Event Timeline
Comment Actions Address review feedback.
|