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