| Index: test/mjsunit/regress/regress-347904.js
|
| diff --git a/test/mjsunit/regress/regress-347904.js b/test/mjsunit/regress/regress-347904.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1a27b054a4b89b8e8841c9311f1c155aea7ce4d7
|
| --- /dev/null
|
| +++ b/test/mjsunit/regress/regress-347904.js
|
| @@ -0,0 +1,12 @@
|
| +// Copyright 2014 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: --allow-natives-syntax --stress-runs=2
|
| +
|
| +var v = /abc/;
|
| +function f() {
|
| + v = 1578221999;
|
| +};
|
| +%OptimizeFunctionOnNextCall(f);
|
| +f();
|
|
|