OLD | NEW |
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 Loading... |
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 |
OLD | NEW |