| Index: test/mjsunit/recursive-store-opt.js
|
| diff --git a/test/mjsunit/regress/regress-store-uncacheable.js b/test/mjsunit/recursive-store-opt.js
|
| similarity index 93%
|
| copy from test/mjsunit/regress/regress-store-uncacheable.js
|
| copy to test/mjsunit/recursive-store-opt.js
|
| index e9c9fc25b49c95293a5c0acea0bea8d073a79e0e..fb2649248dbabc642f864f671d0ce2273ad44bd7 100644
|
| --- a/test/mjsunit/regress/regress-store-uncacheable.js
|
| +++ b/test/mjsunit/recursive-store-opt.js
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2013 the V8 project authors. All rights reserved.
|
| +// Copyright 2014 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -27,14 +27,15 @@
|
|
|
| // Flags: --allow-natives-syntax
|
|
|
| +function g() {
|
| + this.x = this;
|
| +}
|
| +
|
| function f() {
|
| - var o = {};
|
| - o["<abc>"] = 123;
|
| + return new g();
|
| }
|
|
|
| f();
|
| f();
|
| -f();
|
| %OptimizeFunctionOnNextCall(f);
|
| f();
|
| -assertOptimized(f);
|
|
|