Commit 4716b292 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Make some ARM test cases faster.

R=ishell@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18069 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 4765788a
......@@ -269,7 +269,7 @@ class Simulator {
// Checks if the current instruction should be executed based on its
// condition bits.
bool ConditionallyExecute(Instruction* instr);
inline bool ConditionallyExecute(Instruction* instr);
// Helper functions to set the conditional flags in the architecture state.
void SetNZFlags(int32_t val);
......
......@@ -29,7 +29,7 @@
function f() {
var sum = 0;
for (var i = 0; i < 1000000; i++) {
for (var i = 0; i < 100000; i++) {
var t = arguments[0] + 2;
var x = arguments[1] + 2;
var y = t + x + 5;
......@@ -39,6 +39,6 @@ function f() {
return sum;
}
for (var i = 0; i < 4; i++) {
assertEquals(17000000, f(2, 3));
for (var i = 0; i < 3; i++) {
assertEquals(1700000, f(2, 3));
}
......@@ -26,6 +26,6 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Test that we can create arrays of any size.
for (var i = 1000; i < 1000000; i += 97) {
for (var i = 1000; i < 1000000; i += 197) {
new Array(i);
}
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