Index: test/mjsunit/regress/regress-context-osr.js |
diff --git a/test/mjsunit/regress/regress-crbug-217858.js b/test/mjsunit/regress/regress-context-osr.js |
similarity index 89% |
copy from test/mjsunit/regress/regress-crbug-217858.js |
copy to test/mjsunit/regress/regress-context-osr.js |
index e61cb9f6d24a6dcb54a81699183d2db843d0d2dc..b74907de6a5c9530285e96c4b2eb4f9aa59a49e3 100644 |
--- a/test/mjsunit/regress/regress-crbug-217858.js |
+++ b/test/mjsunit/regress/regress-context-osr.js |
@@ -25,13 +25,15 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --noanalyze_environment_liveness |
- |
-var r = /r/; |
+"use strict"; |
function f() { |
- r[r] = function() {}; |
+ try { } catch (e) { } |
} |
-for (var i = 0; i < 300000; i++) { |
- f(); |
+for (this.x = 0; this.x < 1; ++this.x) { |
+ for (this.y = 0; this.y < 1; ++this.y) { |
+ for (this.ll = 0; this.ll < 70670; ++this.ll) { |
+ f(); |
+ } |
+ } |
} |