| Index: test/mjsunit/compiler/regress-444695.js
|
| diff --git a/test/mjsunit/compiler/regress-443744.js b/test/mjsunit/compiler/regress-444695.js
|
| similarity index 55%
|
| copy from test/mjsunit/compiler/regress-443744.js
|
| copy to test/mjsunit/compiler/regress-444695.js
|
| index 5e7f3bc9dbd50cf112e278248e39e78cd3d5374c..168ae25c7052d8abbe47bac9b571bac1b2eceb3a 100644
|
| --- a/test/mjsunit/compiler/regress-443744.js
|
| +++ b/test/mjsunit/compiler/regress-444695.js
|
| @@ -2,13 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -var m = (function(stdlib, foreign, heap) {
|
| +var foo = (function(stdlib, foreign, heap) {
|
| "use asm";
|
| var MEM = new stdlib.Uint8Array(heap);
|
| - function f(x) {
|
| - x = x | 0;
|
| - MEM[x] = 0;
|
| - }
|
| - return {f: f};
|
| -})(this, {}, new ArrayBuffer(1));
|
| -m.f(-926416896 * 32 * 1024);
|
| + function foo(x) { MEM[x | 0] *= 0; }
|
| + return {foo: foo};
|
| +})(this, {}, new ArrayBuffer(1)).foo;
|
| +foo(-926416896 * 8 * 1024);
|
|
|