[wasm] Fix committing memory on win32
This code is rarely used, but it makes invalid assumptions. The reversations in {owned_code_space_} might not actually be sorted, so we cannot assume that whenever there is an overlap this will be at the end of the to-be-committed range. Minor drive-by improvements: Use iterator, remove redundant DCHECK. R=mstarzinger@chromium.org Change-Id: I56bca4298c89e97395de71f9d9be404a7b2bf621 Reviewed-on: https://chromium-review.googlesource.com/1245770Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#56263}
Showing
Please
register
or
sign in
to comment