Index: test/mjsunit/unbox-double-arrays.js |
diff --git a/test/mjsunit/unbox-double-arrays.js b/test/mjsunit/unbox-double-arrays.js |
index ac039930c323e4d2a11bdefd02be47468b504f8a..fd7db28a0d0619264ddb47c3e724969a257798f6 100644 |
--- a/test/mjsunit/unbox-double-arrays.js |
+++ b/test/mjsunit/unbox-double-arrays.js |
@@ -1,4 +1,4 @@ |
-// Copyright 2012 the V8 project authors. All rights reserved. |
+// Copyright 2011 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -278,8 +278,7 @@ function testOneArrayType(allocator) { |
expected_array_value(7)); |
%DeoptimizeFunction(test_various_loads6); |
- %ClearFunctionTypeFeedback(test_various_stores); |
- %ClearFunctionTypeFeedback(test_various_loads7); |
+ gc(); |
// Test stores for non-NaN. |
var large_array = new allocator(large_array_size); |
@@ -377,7 +376,7 @@ delete large_array2[5]; |
// Convert back to fast elements and make sure the contents of the array are |
// unchanged. |
large_array2[25] = new Object(); |
-assertTrue(%HasFastObjectElements(large_array2)); |
+assertTrue(%HasFastElements(large_array2)); |
for (var i= 0; i < approx_dict_to_elements_threshold; i += 500 ) { |
if (i != 25 && i != 5) { |
assertEquals(expected_array_value(i), large_array2[i]); |