Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1337)

Unified Diff: test/mjsunit/function-arguments-duplicate.js

Issue 148293020: Merge experimental/a64 to bleeding_edge. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove ARM from OWNERS Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/div-mod.js ('k') | test/mjsunit/harmony/proxies.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/function-arguments-duplicate.js
diff --git a/test/mjsunit/recursive-store-opt.js b/test/mjsunit/function-arguments-duplicate.js
similarity index 90%
copy from test/mjsunit/recursive-store-opt.js
copy to test/mjsunit/function-arguments-duplicate.js
index fb2649248dbabc642f864f671d0ce2273ad44bd7..80f03a106b30a7e2f984a83b9d54b2edd8fb840a 100644
--- a/test/mjsunit/recursive-store-opt.js
+++ b/test/mjsunit/function-arguments-duplicate.js
@@ -25,17 +25,12 @@
// (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: --allow-natives-syntax
+// Execises ArgumentsAccessStub::GenerateNewNonStrictSlow.
-function g() {
- this.x = this;
+function f(a, a) {
+ assertEquals(2, a);
+ assertEquals(1, arguments[0]);
+ assertEquals(2, arguments[1]);
}
-function f() {
- return new g();
-}
-
-f();
-f();
-%OptimizeFunctionOnNextCall(f);
-f();
+f(1, 2);
« no previous file with comments | « test/mjsunit/div-mod.js ('k') | test/mjsunit/harmony/proxies.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698