Reviewers: Toon Verwaest,

Description:
Disable test that triggers known bug.


[email protected]
BUG=v8:2261


Please review this at https://chromiumcodereview.appspot.com/10896005/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M test/mjsunit/compiler/inline-arguments.js


Index: test/mjsunit/compiler/inline-arguments.js
diff --git a/test/mjsunit/compiler/inline-arguments.js b/test/mjsunit/compiler/inline-arguments.js index f8a247608b1b000a1d1086d04248f89f8c8714a3..572340ab6b9f2fbfa64c47a3f210ddf184683bda 100644
--- a/test/mjsunit/compiler/inline-arguments.js
+++ b/test/mjsunit/compiler/inline-arguments.js
@@ -158,6 +158,30 @@ test_toarr(toarr1);
 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";
+    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);
+  }
+
+  %OptimizeFunctionOnNextCall(outer);
+  %OptimizeFunctionOnNextCall(inner);
+  assertEquals(2, outer(1, 2));
+})();
+
+
 (function () {
   function inner(x, y) {
     "use strict";
@@ -180,3 +204,4 @@ test_toarr(toarr2);
   %OptimizeFunctionOnNextCall(outer);
   assertEquals(2, outer(1, 2));
 })();
+*/


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

Reply via email to