Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Issue 1536603003: Fix memory leaks and compiler incompatibilities in wasm unittests. (Closed)

Created:
5 years ago by bradn
Modified:
5 years ago
Reviewers:
ahaas
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix memory leaks and compiler incompatibilities in wasm unittests. Fixing several memory leaks in wasm unittests. Avoiding std::vector::data() as it isn't supported on all compilers on the bots. Use EXCEPT_TRUE / EXPECT_FALSE to avoid warnings on some compilers when testing boolean equality. R=ahaas@chromium.org BUG= Committed: https://crrev.com/eccce9b755dd356f012e07db9da281b9d113550e Cr-Commit-Position: refs/heads/master@{#32940}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -24 lines) Patch
M test/unittests/wasm/encoder-unittest.cc View 4 chunks +4 lines, -5 lines 0 comments Download
M test/unittests/wasm/module-decoder-unittest.cc View 1 20 chunks +55 lines, -19 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
bradn
5 years ago (2015-12-17 10:50:30 UTC) #1
bradn
5 years ago (2015-12-17 10:51:33 UTC) #3
ahaas
lgtm lgtm (one small nit) https://codereview.chromium.org/1536603003/diff/1/test/unittests/wasm/module-decoder-unittest.cc File test/unittests/wasm/module-decoder-unittest.cc (right): https://codereview.chromium.org/1536603003/diff/1/test/unittests/wasm/module-decoder-unittest.cc#newcode137 test/unittests/wasm/module-decoder-unittest.cc:137: for (int j = ...
5 years ago (2015-12-17 10:59:43 UTC) #5
bradn
https://codereview.chromium.org/1536603003/diff/1/test/unittests/wasm/module-decoder-unittest.cc File test/unittests/wasm/module-decoder-unittest.cc (right): https://codereview.chromium.org/1536603003/diff/1/test/unittests/wasm/module-decoder-unittest.cc#newcode137 test/unittests/wasm/module-decoder-unittest.cc:137: for (int j = 0; j < static_cast<int>(i); j++) ...
5 years ago (2015-12-17 11:03:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1536603003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1536603003/20001
5 years ago (2015-12-17 11:03:37 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-17 11:38:32 UTC) #11
commit-bot: I haz the power
5 years ago (2015-12-17 11:39:00 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/eccce9b755dd356f012e07db9da281b9d113550e
Cr-Commit-Position: refs/heads/master@{#32940}

Powered by Google App Engine
This is Rietveld 408576698