Avoid reliance on undefined malloc(0) behavior.
AIX returns NULL rather than a valid heap address. TEST=cctest/test-run-wasm-module/Run_WasmModule_CallAdd_rev R=titzer@chromium.org, jochen@chromium.org BUG= Review-Url: https://codereview.chromium.org/1934633002 Cr-Commit-Position: refs/heads/master@{#35913}
Showing
Please
register
or
sign in
to comment