OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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 // Flags: --expose-wasm | 5 // Flags: --expose-wasm |
6 | 6 |
7 load("test/mjsunit/wasm/wasm-constants.js"); | 7 load("test/mjsunit/wasm/wasm-constants.js"); |
8 load("test/mjsunit/wasm/wasm-module-builder.js"); | 8 load("test/mjsunit/wasm/wasm-module-builder.js"); |
9 | 9 |
10 (function() { | 10 (function() { |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 kExprI32Clz, | 374 kExprI32Clz, |
375 kExprI32Clz, | 375 kExprI32Clz, |
376 kExprI32Clz, | 376 kExprI32Clz, |
377 kExprUnreachable, | 377 kExprUnreachable, |
378 kExprCallFunction, 0x00, // function #0 | 378 kExprCallFunction, 0x00, // function #0 |
379 kExprCallFunction, 0x00, // function #0 | 379 kExprCallFunction, 0x00, // function #0 |
380 kExprNop, | 380 kExprNop, |
381 kExprNop, | 381 kExprNop, |
382 kExprNop, | 382 kExprNop, |
383 kExprNop, | 383 kExprNop, |
384 kExprReturn, | 384 kExprReturn |
385 kExprI32Clz, | |
386 kExprI32Clz, | |
387 kExprI32Clz, | |
388 kExprI32Clz, | |
389 kExprUnreachable, | |
390 kExprI32Clz, | |
391 kExprI32Clz, | |
392 kExprI32Clz, | |
393 kExprI32Clz, | |
394 kExprNop, | |
395 kExprNop, | |
396 kExprNop, | |
397 kExprNop, | |
398 kExprI64DivS, | |
399 kExprI64LoadMem, 0x01, 0x01, | |
400 kExprNop, | |
401 kExprNop, | |
402 kExprNop, | |
403 kExprNop, | |
404 kExprNop, | |
405 kExprNop, | |
406 kExprNop, | |
407 kExprNop, | |
408 kExprI64DivU, | |
409 kExprUnreachable, | |
410 kExprI32GeS, | |
411 kExprI32Const, 0x0b, | |
412 ]) | 385 ]) |
413 .exportFunc(); | 386 .exportFunc(); |
414 var module = builder.instantiate(); | 387 var module = builder.instantiate(); |
415 assertTrue(module != undefined); | 388 assertTrue(module != undefined); |
416 })(); | 389 })(); |
OLD | NEW |