Skip to content

Commit

Permalink
[jumbo] drop duplicate BUILD macro from test-run-wasm-js.cc
Browse files Browse the repository at this point in the history
BUILD is already defined in test/cctest/wasm/wasm-run-utils.h.

Bug: chromium:746958
Change-Id: Icf577ce91424d9851d2db39658fd52c68c864995
Reviewed-on: https://chromium-review.googlesource.com/676843
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Commit-Queue: Mostyn Bramley-Moore <mostynb@opera.com>
Cr-Commit-Position: refs/heads/master@{#48122}
  • Loading branch information
mostynb authored and Commit Bot committed Sep 22, 2017
1 parent 9f01414 commit b4ff29d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/cctest/wasm/test-run-wasm-js.cc
Expand Up @@ -18,12 +18,6 @@ namespace v8 {
namespace internal {
namespace wasm {

#define BUILD(r, ...) \
do { \
byte code[] = {__VA_ARGS__}; \
r.Build(code, code + arraysize(code)); \
} while (false)

#define ADD_CODE(vec, ...) \
do { \
byte __buf[] = {__VA_ARGS__}; \
Expand Down Expand Up @@ -515,7 +509,6 @@ WASM_EXEC_TEST(Run_JSSelectAlign_10) {
RunJSSelectAlignTest(execution_mode, 10, 10);
}

#undef BUILD
#undef ADD_CODE

} // namespace wasm
Expand Down

0 comments on commit b4ff29d

Please sign in to comment.