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

Unified Diff: test/mjsunit/compiler/inline-arguments.js

Issue 16996004: Rollback of r15097, r15087 in trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 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 | « src/x64/lithium-x64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/inline-arguments.js
diff --git a/test/mjsunit/compiler/inline-arguments.js b/test/mjsunit/compiler/inline-arguments.js
index 75d01b5df327550e377d3bd643f1335497c54e85..df1bd2214d7e97f078f034bf599917236ba1259b 100644
--- a/test/mjsunit/compiler/inline-arguments.js
+++ b/test/mjsunit/compiler/inline-arguments.js
@@ -266,46 +266,3 @@ test_toarr(toarr2);
}
}
})();
-
-
-// Test materialization of arguments object with values in registers.
-(function () {
- "use strict";
- var forceDeopt = { deopt:false };
- function inner(a,b,c,d,e,f,g,h,i,j) {
- var args = arguments;
- forceDeopt.deopt;
- assertSame(10, args.length);
- assertSame(a, args[0]);
- assertSame(b, args[1]);
- assertSame(c, args[2]);
- assertSame(d, args[3]);
- assertSame(e, args[4]);
- assertSame(f, args[5]);
- assertSame(g, args[6]);
- assertSame(h, args[7]);
- assertSame(i, args[8]);
- assertSame(j, args[9]);
- }
-
- var a = 0.5;
- var b = 1.7;
- var c = 123;
- function outer() {
- inner(
- a - 0.3, // double in double register
- b + 2.3, // integer in double register
- c + 321, // integer in general register
- c - 456, // integer in stack slot
- a + 0.1, a + 0.2, a + 0.3, a + 0.4, a + 0.5,
- a + 0.6 // double in stack slot
- );
- }
-
- outer();
- outer();
- %OptimizeFunctionOnNextCall(outer);
- outer();
- delete forceDeopt.deopt;
- outer();
-})();
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698