Revision: 10669
Author: [email protected]
Date: Thu Feb 9 09:29:26 2012
Log: Add asserts to try to flush out test flakiness.
[email protected]
Review URL: https://chromiumcodereview.appspot.com/9358033
http://code.google.com/p/v8/source/detail?r=10669
Modified:
/branches/bleeding_edge/test/mjsunit/elements-kind.js
=======================================
--- /branches/bleeding_edge/test/mjsunit/elements-kind.js Thu Jan 26
13:47:57 2012
+++ /branches/bleeding_edge/test/mjsunit/elements-kind.js Thu Feb 9
09:29:26 2012
@@ -147,6 +147,7 @@
// Crankshaft support for smi-only array elements.
function monomorphic(array) {
+ assertKind(elements_kind.fast_smi_only, array);
for (var i = 0; i < 3; i++) {
array[i] = i + 10;
}
@@ -157,6 +158,7 @@
}
}
var smi_only = new Array(1, 2, 3);
+assertKind(elements_kind.fast_smi_only, smi_only);
for (var i = 0; i < 3; i++) monomorphic(smi_only);
%OptimizeFunctionOnNextCall(monomorphic);
monomorphic(smi_only);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev