Chromium Code Reviews| Index: test/mjsunit/regress/regress-599825.js |
| diff --git a/test/mjsunit/regress/regress-599825.js b/test/mjsunit/regress/regress-599825.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..31b7ce6bf19144b84b9cfd2dd27458a40d96a6c9 |
| --- /dev/null |
| +++ b/test/mjsunit/regress/regress-599825.js |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2016 the V8 project authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// Flags: --expose-wasm |
| + |
| +function __f_97(stdlib, buffer) { |
| + "use asm"; |
| + var __v_30 = new stdlib.Int32Array(buffer); |
| + function __f_74() { |
| + var __v_27 = 4; |
| + __v_30[__v_27 >> __v_2] = ((__v_30[-1073741825]|-10) + 2) | 0; |
|
bradnelson
2016/04/05 16:07:18
Looks like the test needs to expect a throw.
titzer
2016/04/05 16:58:39
Done.
|
| + } |
| +} |
| + var module = Wasm.instantiateModuleFromAsm( __f_97.toString()); |
| +function __f_61() { |
| +} |
| +(function __f_75() { |
| +})(); |