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

Side by Side Diff: test/unittests/wasm/module-decoder-unittest.cc

Issue 2084573002: Upgrade Wasm JS API, step 1 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Separate test refactorings Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "test/unittests/test-utils.h" 5 #include "test/unittests/test-utils.h"
6 6
7 #include "src/handles.h"
8 #include "src/objects-inl.h"
7 #include "src/wasm/module-decoder.h" 9 #include "src/wasm/module-decoder.h"
8 #include "src/wasm/wasm-macro-gen.h" 10 #include "src/wasm/wasm-macro-gen.h"
9 #include "src/wasm/wasm-opcodes.h" 11 #include "src/wasm/wasm-opcodes.h"
10 12
11 namespace v8 { 13 namespace v8 {
12 namespace internal { 14 namespace internal {
13 namespace wasm { 15 namespace wasm {
14 16
15 #define EMPTY_FUNCTION(sig_index) 0, SIG_INDEX(sig_index), U16_LE(0) 17 #define EMPTY_FUNCTION(sig_index) 0, SIG_INDEX(sig_index), U16_LE(0)
16 #define SIZEOF_EMPTY_FUNCTION ((size_t)5) 18 #define SIZEOF_EMPTY_FUNCTION ((size_t)5)
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 NO_LOCAL_NAMES, // -- 1202 NO_LOCAL_NAMES, // --
1201 FOO_STRING, 1203 FOO_STRING,
1202 NO_LOCAL_NAMES, // -- 1204 NO_LOCAL_NAMES, // --
1203 }; 1205 };
1204 EXPECT_VERIFIES(data); 1206 EXPECT_VERIFIES(data);
1205 } 1207 }
1206 1208
1207 } // namespace wasm 1209 } // namespace wasm
1208 } // namespace internal 1210 } // namespace internal
1209 } // namespace v8 1211 } // namespace v8
OLDNEW
« src/wasm/wasm-js.cc ('K') | « test/unittests/wasm/leb-helper-unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698