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
// 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);
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;
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));
}
// 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);
}