Index: test/mjsunit/elements-kind.js |
diff --git a/test/mjsunit/elements-kind.js b/test/mjsunit/elements-kind.js |
index 26b3c7807b35ea1f93ab218bed326abcb12faad2..508a6b3cee2c932ec96d2eee8ce7ef1414e9b056 100644 |
--- a/test/mjsunit/elements-kind.js |
+++ b/test/mjsunit/elements-kind.js |
@@ -224,9 +224,11 @@ if (support_smi_only_arrays) { |
for (var i = 0; i < 3; i++) { |
convert_mixed(doubles, "three", elements_kind.fast); |
} |
+ convert_mixed(construct_smis(), "three", elements_kind.fast); |
+ convert_mixed(construct_doubles(), "three", elements_kind.fast); |
+ %OptimizeFunctionOnNextCall(convert_mixed); |
smis = construct_smis(); |
doubles = construct_doubles(); |
- %OptimizeFunctionOnNextCall(convert_mixed); |
convert_mixed(smis, 1, elements_kind.fast); |
convert_mixed(doubles, 1, elements_kind.fast); |
assertTrue(%HaveSameMap(smis, doubles)); |