Index: test/mjsunit/array-constructor-feedback.js |
diff --git a/test/mjsunit/array-constructor-feedback.js b/test/mjsunit/array-constructor-feedback.js |
index c2c1a1842f7d580800bbed37b62527f45f1454b1..d21673167530bfde383da22c337f59e027c1634f 100644 |
--- a/test/mjsunit/array-constructor-feedback.js |
+++ b/test/mjsunit/array-constructor-feedback.js |
@@ -130,7 +130,8 @@ function assertKind(expected, obj, name_opt) { |
a = bar(10); |
assertKind(elements_kind.fast, a); |
assertOptimized(bar); |
- bar(100000); |
+ a = bar(100000); |
+ assertKind(elements_kind.dictionary, a); |
assertOptimized(bar); |
// If the argument isn't a smi, things should still work. |