Allocation-site-info test, removed TODOs.

Some code was commented out earlier as a todo. Now the code can be reenabled,
because allocation site feedback is working there again.

BUG=
R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/18753005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15543 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 61ac7704
......@@ -133,9 +133,7 @@ if (support_smi_only_arrays) {
obj = fastliteralcase(get_standard_literal(), 1.5);
assertKind(elements_kind.fast_double, obj);
obj = fastliteralcase(get_standard_literal(), 2);
// TODO(hpayer): bring the following assert back as soon as allocation
// sites work again for fast literals
//assertKind(elements_kind.fast_double, obj);
assertKind(elements_kind.fast_double, obj);
// The test below is in a loop because arrays that live
// at global scope without the chance of being recreated
......@@ -175,9 +173,7 @@ if (support_smi_only_arrays) {
obj = fastliteralcase_smifast("carter");
assertKind(elements_kind.fast, obj);
obj = fastliteralcase_smifast(2);
// TODO(hpayer): bring the following assert back as soon as allocation
// sites work again for fast literals
//assertKind(elements_kind.fast, obj);
assertKind(elements_kind.fast, obj);
function newarraycase_smidouble(value) {
var a = new Array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment