Speed up tests for optimized code sharing.
authormstarzinger <mstarzinger@chromium.org>
Fri, 7 Aug 2015 13:38:55 +0000 (06:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Aug 2015 13:39:01 +0000 (13:39 +0000)
commite8a399c0a09b344b1f7d18fc340ee2228f6efeec
tree44dca82f7a1baa1fdb8608861065129a0bdc2447
parent651f55c573fec1734276cd5b69c0d1c9c5dc43d5
Speed up tests for optimized code sharing.

Note that this tests performed unnecessary many iterations which led to
long runtimes in debug mode and also caused flaky GCs during that would
cause the optimized code map to be flushed and violated assumptions.

R=yangguo@chromium.org
BUG=v8:4363
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#30070}
test/cctest/test-compiler.cc