Index: test/mjsunit/elements-kind.js |
diff --git a/test/mjsunit/elements-kind.js b/test/mjsunit/elements-kind.js |
index 64b4a094ff47ca8a76e0cea8ff09dbc33bf3686f..e7a597d0111764558ab7f708a57c068fdb8e1ee7 100644 |
--- a/test/mjsunit/elements-kind.js |
+++ b/test/mjsunit/elements-kind.js |
@@ -145,9 +145,7 @@ function test_wrapper() { |
} |
assertKind(elements_kind.fast, you); |
- var temp = []; |
- temp[0xDECAF] = 0; |
- assertKind(elements_kind.dictionary, temp); |
+ assertKind(elements_kind.dictionary, new Array(0xDECAF)); |
var fast_double_array = new Array(0xDECAF); |
for (var i = 0; i < 0xDECAF; i++) fast_double_array[i] = i / 2; |