Index: test/mjsunit/elements-kind.js |
diff --git a/test/mjsunit/elements-kind.js b/test/mjsunit/elements-kind.js |
index ca6daea0617c456b7164742cce2b924f5e8e90c2..cfd47c7781203078ecf7a3892cfa9abbe8ff62fa 100644 |
--- a/test/mjsunit/elements-kind.js |
+++ b/test/mjsunit/elements-kind.js |
@@ -237,7 +237,11 @@ function crankshaft_test() { |
var b = [get(1), get(2), get("three")]; |
assertKind(elements_kind.fast, b); |
var c = [get(1), get(2), get(3.5)]; |
- assertKind(elements_kind.fast_double, c); |
+ if (support_smi_only_arrays) { |
+ assertKind(elements_kind.fast_double, c); |
+ } else { |
+ assertKind(elements_kind.fast, c); |
+ } |
} |
for (var i = 0; i < 3; i++) { |
crankshaft_test(); |