Fix build
authordanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Mar 2011 22:30:53 +0000 (22:30 +0000)
committerdanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 24 Mar 2011 22:30:53 +0000 (22:30 +0000)
BUG=none
TEST=none
TBR=ager@chromium.org

Review URL: http://codereview.chromium.org/6732038

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7355 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

test/cctest/test-api.cc

index 5293761..98d31c6 100644 (file)
@@ -11521,24 +11521,6 @@ static void ExternalArrayTestHelper(v8::ExternalArrayType array_type,
                       "sum;");
   CHECK_EQ(7800000, result->Int32Value());
 
-  // Test edge cases for crankshaft code.
-  array->set(0, static_cast<ElementType>(0xFFFFFFFF));
-  result = CompileRun("function ee_limit_test_func(i) {"
-                      "   return ext_array[i];"
-                      " return sum;"
-                      "}"
-                      "sum=0;"
-                      "for (var i=0;i<1000000;++i) {"
-                      "  sum=ee_limit_test_func(0);"
-                      "}"
-                      "sum;");
-  if (array_type == v8::kExternalFloatArray) {
-    CHECK_EQ(0, result->Int32Value());
-  } else {
-    CHECK_EQ(static_cast<int>(static_cast<ElementType>(0xFFFFFFFF)),
-             result->Int32Value());
-  }
-
   result = CompileRun("ext_array[3] = 33;"
                       "delete ext_array[3];"
                       "ext_array[3];");