Revision: 12399
Author:   [email protected]
Date:     Tue Aug 28 07:17:55 2012
Log:      Disable test that triggers known bug.

[email protected]
BUG=v8:2261

Review URL: https://chromiumcodereview.appspot.com/10896005
http://code.google.com/p/v8/source/detail?r=12399

Modified:
 /branches/bleeding_edge/test/mjsunit/compiler/inline-arguments.js

=======================================
--- /branches/bleeding_edge/test/mjsunit/compiler/inline-arguments.js Wed Apr 11 06:40:55 2012 +++ /branches/bleeding_edge/test/mjsunit/compiler/inline-arguments.js Tue Aug 28 07:17:55 2012
@@ -158,6 +158,8 @@
 test_toarr(toarr2);

 // Test that arguments access from inlined function uses correct values.
+// TODO(mstarzinger): Tests disabled, see bug 2261
+/*
 (function () {
   function inner(x, y) {
     "use strict";
@@ -174,9 +176,32 @@
     return inner(x, y);
   }

+  %OptimizeFunctionOnNextCall(outer);
+  %OptimizeFunctionOnNextCall(inner);
   assertEquals(2, outer(1, 2));
+})();
+
+
+(function () {
+  function inner(x, y) {
+    "use strict";
+    x = 10;
+    y = 20;
+    for (var i = 0; i < 1; i++) {
+      for (var j = 1; j <= arguments.length; j++) {
+        return arguments[arguments.length - j];
+      }
+    }
+  }
+
+  function outer(x, y) {
+    return inner(x, y);
+  }
+
+  assertEquals(2, outer(1, 2));
   assertEquals(2, outer(1, 2));
   assertEquals(2, outer(1, 2));
   %OptimizeFunctionOnNextCall(outer);
   assertEquals(2, outer(1, 2));
 })();
+*/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to