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

Unified Diff: test/mjsunit/array-bounds-check-removal.js

Issue 11028027: Revert trunk to bleeding_edge at r12484 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 2 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 | « test/message/try-catch-finally-no-message.out ('k') | test/mjsunit/bugs/bug-2337.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/array-bounds-check-removal.js
diff --git a/test/mjsunit/array-bounds-check-removal.js b/test/mjsunit/array-bounds-check-removal.js
index df7988bdaa38597e581ad759032adeabaa784bdf..0ab30963261a4d995fa8523af589384d51c191ca 100644
--- a/test/mjsunit/array-bounds-check-removal.js
+++ b/test/mjsunit/array-bounds-check-removal.js
@@ -29,29 +29,6 @@
var a = new Int32Array(1024);
-// Test that we do not assert if the accessed index has not an int32 rep.
-var v = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
-function test_do_not_assert_on_non_int32(vector, base) {
- var r = 0;
- var a1 = base + 1;
- var a2 = base + 2;
- var a3 = base + 3;
- var a4 = base + 4;
- if (a1 == 2) {
- r += vector[a1];
- r += vector[a4];
- r += vector[a2];
- r += vector[a3];
- }
- return r;
-}
-test_do_not_assert_on_non_int32(v,1);
-test_do_not_assert_on_non_int32(v,1);
-test_do_not_assert_on_non_int32(v,"a");
-test_do_not_assert_on_non_int32(v,"a");
-%OptimizeFunctionOnNextCall(test_do_not_assert_on_non_int32);
-test_do_not_assert_on_non_int32(v,0);
-
function test_base(base,cond) {
a[base + 1] = 1;
a[base + 4] = 2;
« no previous file with comments | « test/message/try-catch-finally-no-message.out ('k') | test/mjsunit/bugs/bug-2337.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698