Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index ab94085a95f0da53624a80c4b0edede4310bfb00..09aec9637be2434824b1fae1f65d581332dfcefa 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -11910,35 +11910,6 @@ static void ExternalArrayTestHelper(v8::ExternalArrayType array_type, |
CHECK_EQ(true, result->BooleanValue()); |
} |
- // Test crankshaft external array loads |
- for (int i = 0; i < kElementCount; i++) { |
- array->set(i, static_cast<ElementType>(i)); |
- } |
- result = CompileRun("function ee_load_test_func(sum) {" |
- " for (var i = 0; i < 40; ++i)" |
- " sum += ext_array[i];" |
- " return sum;" |
- "}" |
- "sum=0;" |
- "for (var i=0;i<10000;++i) {" |
- " sum=ee_load_test_func(sum);" |
- "}" |
- "sum;"); |
- CHECK_EQ(7800000, result->Int32Value()); |
- |
- // Test crankshaft external array stores |
- result = CompileRun("function ee_store_test_func(sum) {" |
- " for (var i = 0; i < 40; ++i)" |
- " sum += ext_array[i] = i;" |
- " return sum;" |
- "}" |
- "sum=0;" |
- "for (var i=0;i<10000;++i) {" |
- " sum=ee_store_test_func(sum);" |
- "}" |
- "sum;"); |
- CHECK_EQ(7800000, result->Int32Value()); |
- |
for (int i = 0; i < kElementCount; i++) { |
array->set(i, static_cast<ElementType>(i)); |
} |