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

Side by Side Diff: test/mjsunit/regress/wasm/regression-667745.js

Issue 2640013003: [wasm] Some simplifications in function-body-decoder.cc. (Closed)
Patch Set: Regression test had unreachable code. Created 3 years, 11 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
« no previous file with comments | « src/wasm/function-body-decoder.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 })();
OLDNEW
« no previous file with comments | « src/wasm/function-body-decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698