Index: test/mjsunit/allocation-site-info.js |
diff --git a/test/mjsunit/allocation-site-info.js b/test/mjsunit/allocation-site-info.js |
index 51ca68749ccb9be9c10f30dc72cbcf0e8119616b..cd086d35060355e97a37f7f6aba8886d9660baea 100644 |
--- a/test/mjsunit/allocation-site-info.js |
+++ b/test/mjsunit/allocation-site-info.js |
@@ -128,7 +128,6 @@ if (support_smi_only_arrays) { |
} |
// Case: [1,2,3] as allocation site |
- get_standard_literal(); // Skip premonomorphic state. |
obj = fastliteralcase(get_standard_literal(), 1); |
assertKind(elements_kind.fast_smi_only, obj); |
obj = fastliteralcase(get_standard_literal(), 1.5); |
@@ -170,7 +169,6 @@ if (support_smi_only_arrays) { |
return literal; |
} |
- fastliteralcase_smifast(1); // Skip premonomorphic state. |
obj = fastliteralcase_smifast(1); |
assertKind(elements_kind.fast_smi_only, obj); |
obj = fastliteralcase_smifast("carter"); |
@@ -185,7 +183,6 @@ if (support_smi_only_arrays) { |
return literal; |
} |
- fastliteralcase_smiholey(5, 1); // Skip premonomorphic state. |
obj = fastliteralcase_smiholey(5, 1); |
assertKind(elements_kind.fast_smi_only, obj); |
assertHoley(obj); |
@@ -200,7 +197,6 @@ if (support_smi_only_arrays) { |
} |
// Case: new Array() as allocation site, smi->double |
- newarraycase_smidouble(1); // Skip premonomorphic state. |
obj = newarraycase_smidouble(1); |
assertKind(elements_kind.fast_smi_only, obj); |
obj = newarraycase_smidouble(1.5); |
@@ -215,7 +211,6 @@ if (support_smi_only_arrays) { |
} |
// Case: new Array() as allocation site, smi->fast |
- newarraycase_smiobj(1); // Skip premonomorphic state. |
obj = newarraycase_smiobj(1); |
assertKind(elements_kind.fast_smi_only, obj); |
obj = newarraycase_smiobj("gloria"); |
@@ -230,7 +225,6 @@ if (support_smi_only_arrays) { |
} |
// Case: new Array(length) as allocation site |
- newarraycase_length_smidouble(1); // Skip premonomorphic state. |
obj = newarraycase_length_smidouble(1); |
assertKind(elements_kind.fast_smi_only, obj); |
obj = newarraycase_length_smidouble(1.5); |
@@ -254,7 +248,6 @@ if (support_smi_only_arrays) { |
} |
// Case: new Array(<length>) as allocation site, smi->fast |
- newarraycase_length_smiobj(1); // Skip premonomorphic state. |
obj = newarraycase_length_smiobj(1); |
assertKind(elements_kind.fast_smi_only, obj); |
obj = newarraycase_length_smiobj("gloria"); |
@@ -268,7 +261,6 @@ if (support_smi_only_arrays) { |
return a; |
} |
- newarraycase_list_smidouble(1); // Skip premonomorphic state. |
obj = newarraycase_list_smidouble(1); |
assertKind(elements_kind.fast_smi_only, obj); |
obj = newarraycase_list_smidouble(1.5); |
@@ -282,7 +274,6 @@ if (support_smi_only_arrays) { |
return a; |
} |
- newarraycase_list_smiobj(1); // Skip premonomorphic state. |
obj = newarraycase_list_smiobj(1); |
assertKind(elements_kind.fast_smi_only, obj); |
obj = newarraycase_list_smiobj("coates"); |
@@ -302,7 +293,6 @@ if (support_smi_only_arrays) { |
return a; |
} |
- foo(0); foo(1); // Skip premonomorphic state. |
for (i = 0; i < 2; i++) { |
a = foo(i); |
b = foo(i); |
@@ -323,7 +313,6 @@ if (support_smi_only_arrays) { |
return a; |
} |
- newarraycase_onearg(5, 3.5); // Skip premonomorphic state. |
obj = newarraycase_onearg(5, 3.5); |
assertKind(elements_kind.fast_double, obj); |
obj = newarraycase_onearg(10, 5); |
@@ -399,7 +388,6 @@ if (support_smi_only_arrays) { |
return literal; |
} |
- get_nested_literal(); // Skip premonomorphic state. |
obj = get_nested_literal(); |
assertKind(elements_kind.fast, obj); |
obj[0][0] = 3.5; |
@@ -415,7 +403,6 @@ if (support_smi_only_arrays) { |
return literal; |
} |
- get_deep_nested_literal(); // Skip premonomorphic state. |
obj = get_deep_nested_literal(); |
assertKind(elements_kind.fast_smi_only, obj[1][0]); |
obj[0][0] = 3.5; |
@@ -441,7 +428,6 @@ if (support_smi_only_arrays) { |
return literal; |
} |
- get_object_literal(); // Skip premonomorphic state. |
obj = get_object_literal(); |
assertKind(elements_kind.fast_smi_only, obj.array); |
obj.array[1] = 3.5; |
@@ -457,7 +443,6 @@ if (support_smi_only_arrays) { |
return literal; |
} |
- get_nested_object_literal(); // Skip premonomorphic state. |
obj = get_nested_object_literal(); |
assertKind(elements_kind.fast, obj.array); |
assertKind(elements_kind.fast_smi_only, obj.array[1]); |
@@ -477,7 +462,6 @@ if (support_smi_only_arrays) { |
return literal; |
} |
- get_nested_literal(); // Skip premonomorphic state. |
obj = get_nested_literal(); |
assertKind(elements_kind.fast, obj); |
obj[0][0] = 3.5; |
@@ -493,7 +477,6 @@ if (support_smi_only_arrays) { |
return literal; |
} |
- get_deep_nested_literal(); // Skip premonomorphic state. |
obj = get_deep_nested_literal(); |
assertKind(elements_kind.fast_smi_only, obj[1][0]); |
obj[0][0] = 3.5; |